Writing Dates and Times in Notes: The ISO 8601 Habit
Why 2027-03-05 is the safest date format for notes and file names, and how to write times clearly.
Is 03/05/2027 the 3rd of May or the 5th of March? It depends on where you live. Writing dates clearly saves confusion in notes, file names and logs.
The problem with ambiguous dates
| Written | UK/most of the world | US |
|---|---|---|
| 03/05/2027 | 3 May 2027 | 5 March 2027 |
A single note read by someone from another country can be misunderstood.
The ISO 8601 format
ISO 8601 is an international standard for dates. The basic format is:
YYYY-MM-DD, for example 2027-03-05.
It goes from largest to smallest: year, month, day. This has clear advantages:
- It's unambiguous. Nobody has to guess.
- It sorts correctly. Files named with this format list in date order automatically.
- It's compact.
- It's understood worldwide.
Times
Use the 24-hour clock:
- 14:30 for 2:30 in the afternoon
- 09:05 for 9:05 in the morning
To combine a date and a time, put a T between them, or a space: 2027-03-05T14:30 or 2027-03-05 14:30.
Time zones
If time zones matter, add the offset from UTC:
- 2027-03-05T14:30+01:00 means 14:30, one hour ahead of UTC.
- 2027-03-05T13:30Z means 13:30 UTC (Z stands for "Zulu", another name for UTC).
In file names
2027-03-05-team-meeting.txt
2027-03-12-ideas.txt
The files sort by date in any file list.
In a journal or log
2027-03-05 14:30 Called the plumber, visit booked for Friday.
2027-03-05 18:00 Dinner with Ana.
Each line begins with the date and time, so you can search or sort easily.
Writing it by hand
For quick private notes you might shorten it, but the full form is safer for anything you'll need to read later.
A small habit, a big benefit
Adopt YYYY-MM-DD for everything you write, and your notes become easier to search and less likely to confuse.
Notepad+ Text Editor
A fast, advanced text editor for notes and code, with emoji support
More about Notepad+ Text Editor
Bullets or Sentences? Writing Notes You Can Still Understand Next Year
How to write notes that stay clear over time, and when short bullets work better than full sentences.
Read article →Drafting a Blog Post from a Plain-Text Outline
A simple process for planning and writing a post or article in a text editor, from idea to a clean first draft.
Read article →Find and Replace: Tidying Notes and Files in Seconds
How find and replace works, the options to look for and the precautions that stop it from changing more than you intended.
Read article →Text Templates: Reusable Notes You Never Retype
How to create a small set of template files for repeating tasks such as meetings, trips, weekly reviews and reports.
Read article →