A clipping dated 04/05/06 preserves three numbers and leaves a reader to work out what each one means. Even if the year is known to be 2006, the date could be April 5 or 4 May. In a letter or notice, spelling out the month solves the problem. In filenames and records that travel between systems, a fixed year–month–day format does the same job and has the added advantage of sorting by date.

Dates in prose

Both April 5, 2006 and 5 April 2006 work in English. Once the month is written out and the year has four digits, either order identifies the same day. Follow the house style where there is one. In a small table or on a label, 5 Apr 2006 saves space while keeping the month recognizable.

Include the year when the date is likely to be read later or out of context. “The exhibition opens on 5 April” is enough on a poster for the current season. In a collection of old notices, the year might be the first detail a reader looks for. The same problem affects “today” and “next Friday” when a message is forwarded after its original date has disappeared.

The year–month–day format

The extended ISO 8601 form for a complete calendar date is YYYY-MM-DD. Start with the four-digit year, then use two digits each for the month and day, with an ordinary keyboard hyphen between the fields. April 5, 2006 becomes 2006-04-05. The leading zeros put the fields in the same positions for every date.

Ways to record a calendar date
Written formHow to read itWhere it fits
April 5, 2006Month, day, yearProse using month-first style
5 April 2006Day, month, yearProse using day-first style
2006-04-05Year, month, dayFilenames and shared records
04/05/2006April 5 or 4 May, depending on conventionForms that explicitly label the order

A date can have the right shape and still be invalid. 2026-04-31 has three neatly formatted fields, but April has only 30 days. 2024-02-29 is a valid leap day, while 2025-02-29 is invalid. When checking imported records, verify that each date exists on the calendar as well as checking the digits and separators.

Sorting records and filenames

With four-digit years and padded months and days, a plain character-by-character sort puts complete dates in chronological order. It compares the year first. When the years match, it compares months, then days. Putting the date at the beginning of a filename makes it the first thing the sort sees.

2025-12-18-meeting-notes.txt
2026-02-09-meeting-notes.txt
2026-10-02-meeting-notes.txt

Dropping the zero in February would put 2026-2-09 after 2026-10-02 in a character-by-character sort. The first digit of 2 comes after the first digit of 10. Some file browsers compare digit runs numerically, so an inconsistent naming scheme can appear to work until the files are listed elsewhere.

When only the month or year is known

If an inventory says an item was acquired in April 2006, the date can stay at month precision. Write “April 2006” in prose or 2006-04 in a field that supports year and month. Adding -01 would assert that the acquisition happened on the first. The Library of Congress’s Extended Date/Time Format distinguishes complete dates from dates recorded to the month or year.

For an ambiguous source, preserve the original wording or notation until other evidence settles the meaning. A series of entries from the same register may include a day above 12 that reveals the order. An isolated 04/05/2006 gives less to work with. If the evidence is inconclusive, record that uncertainty alongside the transcription.

Calendar dates and timestamps

A calendar date names a day. A timestamp with a UTC offset identifies an instant. For example, 2027-01-01T00:30:00Z and 2026-12-31T19:30:00-05:00 describe the same instant on different calendar dates. The first clock reads half past midnight in UTC. The second is five hours behind and still reads December 31. The guide to writing UTC offsets explains the conversion.

Use a date for a day-level record, such as the date printed on a letter. For an event log, use a timestamp with UTC or an explicit offset. If you need to sort timestamps by instant, convert them to a common offset and use consistent precision before sorting them as text. Sorting by the calendar date at the start of each timestamp can give a different order when the offsets differ.

Sources and further reading