Set Page Date & Time

Set the page date and time to desired time

Download

Author(s) : Onetastic ★
Category : Pages
Last Updated : July 02, 2017
Requirements : OneNote 2010 or above
Screenshot :

Set Page Date & Time

Scope
Enter new date (YYYY-MM-DD)
Enter new time (HH:MM). Use 24 hour format
Changelog :

July 02, 2017 (47AB5C) - Onetastic ★
Added option to set the page date/time on all pages in current section, section group, notebook or selected pages in the current section

February 11, 2017 (5748BD) - Onetastic ★
Added option to set the date as well as the time

June 20, 2016 (1FE428) - Onetastic ★
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

November 24, 2014 - Onetastic ★
Initial version

Comments

Name
Comment
Randy not @ MS - 2025-05-24
If you use OneNote to prepare notes for an upcoming meeting, and you use OneCalendar to summarize your page changes, this macro is an invaluable tool to help plan for those meetings. Changing the Page date and time will make your OneNote page appear in OneCalendar in time for you to make sure you have all the information you need for your meeting.

An addition could be made to this macro to check the page title to see if there is a date indicated so the dialog box defaults to that date/time.

Imagine checking OneCalendar for all of your upcoming meetings so you can review if that OneNote page that shows up in OneCalendar to be sure to have all the notes you need for your upcoming meeting.
Randall - 2025-05-24
Nice quick way to change page date/time whether for one page or multiple pages within sections or notebooks.

May I suggest changing the following statement to accommodate those of us who prefer to use "/" instead of "-" when entering a date:

$datetime = String_Replace($date, "/", "-", true, $count) & "T" & $time & String_Substring($Pages[0].dateTime, 16, 13)

If you make that change you might want the dialog to prompt for "Enter new date (YYYY-MM-DD or YYYY/MM/DD)".
Dyr - 2023-04-01
There is a bug if you enter a date prior 1970/01/01 - though if you click through oneNotes native dates - it can go back further? Obviously using oneNote's native implementation is painful, for you have to cycle through the dates with the arrows which could take a lifetime, depending on far you wish to go back.