The Rename Problem in Windows
Open File Explorer and press F2 to rename a file. You want to add today's date — something like report_20260307.docx. Windows offers nothing to help. No shortcut, no calendar widget, no auto-fill. You either type eight digits from memory, switch to the taskbar clock to check, or guess.
The problem compounds across a team. Even if everyone agrees to use yyyyMMdd, each person types dates manually — and manual typing produces inconsistent results: 20260307, 2026-03-07, 03072026, or just today's date typed wrong. A folder that should be organized becomes a mixed archive.
Option 1 — Type the Date Manually
Always available, always works — in the sense that no additional tools are needed. The problems are well-known:
- Swapping month and day: typing 20260703 instead of 20260307
- Using yesterday's date because you didn't check the calendar
- Adding dashes or slashes out of habit: 2026-03-07 instead of 20260307
- Using a two-digit year: 260307 instead of 20260307
For occasional, personal use: acceptable. For daily use or team-wide file naming: the errors accumulate and the folder stops sorting correctly.
Option 2 — Copy from Another Application
Some people open Excel, press Ctrl+; to insert today's date, then copy and paste the value into File Explorer's rename field. This works but introduces new problems:
- Excel's Ctrl+; formats the date based on the cell's date format — you may get 3/7/2026, 07-Mar-26, or another locale-specific format rather than 20260307
- The workflow requires switching between applications, breaking your focus
- On systems where Excel isn't open, this approach fails entirely
Option 3 — AutoHotkey Script
AutoHotkey is a free Windows scripting tool that can remap any key to output text — including today's date in any format. A simple script can make a key press output 20260307 anywhere on Windows.
The trade-offs:
- Requires installing AutoHotkey and maintaining a script file
- May require administrator rights on corporate-managed machines
- Script needs to be updated if AutoHotkey is uninstalled or the machine is replaced
- Not practical for non-technical team members
Option 4 — InsertDate (One Key, Most Windows Apps)
InsertDate remaps the Insert key at the operating system level. Press Insert in most Windows apps and today's date in yyyyMMdd format appears at the cursor position — no switching windows, no copying, no scripts.
In File Explorer:
- Select the file you want to rename
- Press F2 to enter rename mode
- Position the cursor where the date should go (the beginning of the name is recommended)
- Press Insert — 20260307 appears instantly
- Type the rest of the file name and press Enter
The same workflow applies in many Save As dialogs. When saving a new document in Word, Excel, or a similar app, press Insert in the file name field to add today's date before typing the rest of the name. InsertDate only types the date at the cursor; it does not rename or organize files for you. If an app runs as administrator, InsertDate also needs to run as administrator for Insert to work there.
Why the date belongs at the start: A date prefix like 20260307_MeetingNotes.docx means files sort chronologically in File Explorer when sorted by name. See the full guide: Date at the start or end of a file name? The definitive answer
If you add dates to file names often, you can try InsertDate from the Microsoft Store (7-day free trial). It types the date; you still choose the rest of the file name.
Renaming Multiple Files Consistently
When a team renames a batch of files — end-of-month reports, project deliverables, meeting notes — consistency matters more than speed. One person typing 20260307 and another typing 2026-03-07 produces a folder where files from the same day don't sort together.
InsertDate removes the format decision entirely. Every team member presses the same key and gets the same eight digits. The folder stays organized without any cleanup.
See also: Windows file naming best practices for business · Why yyyyMMdd is the right format for file names
Frequently Asked Questions
Is there a keyboard shortcut to insert the date when renaming a file in Windows?
Windows itself has no built-in keyboard shortcut for inserting the current date during file renaming. InsertDate fills this gap by remapping the Insert key to type today's date in yyyyMMdd format — it types the date at the cursor in most Windows text fields, including File Explorer's rename field and many Save As dialogs.
What is the best format for dates in file names?
yyyyMMdd (e.g. 20260307) is the format we recommend. Dates written year first, then month, then day, with zero-padded numbers — yyyyMMdd or yyyy-MM-dd — sort chronologically when files are sorted by name in Windows File Explorer, while MM/DD and DD/MM formats do not. yyyyMMdd is shorter and has no separator characters; yyyy-MM-dd is easier to read. Whichever you choose, use it consistently. Both are internationally unambiguous, unlike MM/DD or DD/MM formats.
Can I insert the current date automatically when saving a file?
Not automatically — Windows does not add dates when you save, and InsertDate does not either. What InsertDate does is type the date when you press Insert: with a Save As dialog open and the cursor in the file name field, pressing Insert types today's date in yyyyMMdd format, the same way it works in File Explorer's rename field and most other text inputs on Windows. Apps running as administrator need InsertDate to run as administrator too.
Try InsertDate Free for 7 Days
One key press. Today's date in yyyyMMdd format. Works in most Windows apps, including File Explorer's rename field and Save As file name boxes. Apps running as administrator need InsertDate to run as administrator too.
InsertDate is a Windows 10/11 app. Reading on a phone? Open this page on your PC to install it.