How to Insert and Update a Long Date Automatically in OneNote
Question details
The user wants to insert a long date into a OneNote page that automatically refreshes to the current long date every time the page is opened.
- Product
- Microsoft OneNote
- Device & OS
- not provided
- Scenario
- Organizing or managing dynamic OneNote pages where the current long date needs to be automatically displayed upon opening.
- Observed behavior
- OneNote only inserts a static short date by default and lacks a built-in feature to automatically insert and refresh a long date when the page is opened.
Since OneNote lacks a built-in auto-updating date feature, you will need basic familiarity with Microsoft Power Automate and the Microsoft Graph API to set up this automated workflow.
Use Power Automate and Microsoft Graph API
Create a Power Automate flow to dynamically update the OneNote page with a formatted long date using Microsoft Graph.
Microsoft OneNote does not offer an out-of-the-box feature to insert a long date that refreshes automatically. However, you can achieve this by building a custom flow in Power Automate.
Using the Microsoft Graph API, your flow can target a specific OneNote page and update its content with the current date formatted exactly as you need.
Log into your Microsoft account and open Power Automate. Click on 'Create' to set up a new automated or scheduled cloud flow.
In your flow's action setup, use the custom expression formatDateTime(utcNow(),'dddd, MMMM dd, yyyy') to generate the current long date dynamically.
Add an HTTP action or use the OneNote connector to send a PATCH request to the Microsoft Graph API, targeting the specific page you want to update.
Refer to the official OneNote update-page guidance at https://learn.microsoft.com/en-us/graph/onenote-update-page to format your HTML payload correctly and target the right page ID.
Try WPS Office for a Seamless Document Experience
If you are looking for an office suite that offers straightforward features and excellent compatibility without needing complex API workflows, consider WPS Office. It provides robust, easy-to-use document creation tools.
- 1. Visit the Official Website: Go to the official WPS Office website to find the latest free version for your operating system.
- 2. Download the Installer: Click the 'Free Download' button to save the installation file to your computer.
- 3. Install and Run: Open the downloaded file, follow the on-screen instructions to install, and start creating your documents instantly.

Frequently Asked Questions
Can I use a keyboard shortcut to insert the date in OneNote?
Yes, you can press Alt + Shift + D (on Windows) to insert the current date, but this will insert a static short date that does not update automatically when you reopen the page.
Is there any built-in way to change the default date format in OneNote?
OneNote relies on your computer's system date and time settings. You can change your system's short date format in the Windows Control Panel, but OneNote will still only insert it as static text rather than a dynamic field.
Why doesn't OneNote auto-update the date like Word or Excel?
OneNote is designed as a static digital notebook where timestamps mark exactly when a note was taken or created, rather than functioning like a dynamic document template.
Do I need a premium account to use Power Automate with OneNote?
Standard Power Automate features and Microsoft Graph API access for personal Microsoft accounts are generally free, though there are limits on execution frequency depending on your Microsoft 365 subscription tier.




