standards for dates, times and (recurring) time intervals
ISO 8601 - Wikipedia
ISO 8601 is an international standard covering the worldwide exchange and communication of date and time-related data. It is maintained by the International Organization for Standardization (ISO) and was first published in โ€ฆ Wikipedia
Factsheet
Date in UTC 2026-03-16
Time in UTC 12:12:15Z
T121215Z
Date and time in UTC 2026-03-16T12:12:15Z
20260316T121215Z
Factsheet
Date in UTC 2026-03-16
Time in UTC 12:12:15Z
T121215Z
Date and time in UTC 2026-03-16T12:12:15Z
20260316T121215Z
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ ISO_8601
ISO 8601 - Wikipedia
1 week ago - For example, the 6th day of the 1st month of the year 2009 may be written as "2009-01-06" in the extended format or as "20090106" in the basic format without ambiguity. For reduced precision, any number of values may be dropped from any of the date and time representations, but in the order from the least to the most significant. For example, "2004-05" is a valid ISO 8601 date, which indicates May (the fifth month) 2004.
๐ŸŒ
ISO
iso.org โ€บ iso-8601-date-and-time-format.html
ISO - ISO 8601 โ€” Date and time format
Therefore, the order of the elements used to express date and time in ISO 8601 is as follows: year, month, day, hour, minutes, seconds, and milliseconds.
Discussions

PSA: Year-month-day ordering โ‰  ISO 8601
For times with no offset (GMT) Technically, it's UTC, not GMT. More on reddit.com
๐ŸŒ r/ISO8601
82
382
May 21, 2024
Is there an ISO/format for "2023AUG17" ? (Only month in 3 letter)
One of the advantages of 8601 is that dates sort chronologically and alphabetically the same. Using three letter months would break that functionality. It also wouldn't be as universal regionally since months are spelled differently depending on the language in use. More on reddit.com
๐ŸŒ r/ISO8601
26
8
August 18, 2023
date - Is the --MM-DD format for month-day part of ISO 8601? - Stack Overflow
Is month-day a concept defined by ISO 8601, and if so, is --MM-DD the standard format? Background: I'm developing a date/time API in another language. ... So the format --MM-DD conforms to ISO 8601, where the year is omitted/missing, and paragraph 5.2.1.3d also contains an example of that very ... More on stackoverflow.com
๐ŸŒ stackoverflow.com
December 6, 2022
What is swedens standard Date format?
As long as the month is in the middle I'm fine with it. More on reddit.com
๐ŸŒ r/sweden
31
8
May 15, 2012
๐ŸŒ
W3C
w3.org โ€บ QA โ€บ Tips โ€บ iso-date
Use international date format (ISO) - Quality Web Tips
The international format defined by ISO (ISO 8601) tries to address all these problems by defining a numerical date system as follows: YYYY-MM-DD where ยท YYYY is the year [all the digits, i.e. 2012] MM is the month [01 (January) to 12 (December)] DD is the day [01 to 31] For example, "3rd ...
๐ŸŒ
IONOS
ionos.com โ€บ digital guide โ€บ websites โ€บ web development โ€บ iso 8601
ISO 8601: The global standard for date and time formats - IONOS
November 29, 2022 - For times, they are expressed with the notation hours-minutes-seconds. In the case of dates, the format is year-month-day. This basic format enables the numbers to be written directly after another.
๐ŸŒ
Reddit
reddit.com โ€บ r/iso8601 โ€บ psa: year-month-day ordering โ‰  iso 8601
r/ISO8601 on Reddit: PSA: Year-month-day ordering โ‰  ISO 8601
May 21, 2024 -

ISO 8601 is stricter than many people seem to be aware of. A fair number of posts misunderstand any year-month-day format to be valid.

Brothers and sisters, recall the first commandment: No false gods.

I'll be using the current date and time, May 21, 2024, at 6:04:01 AM, UTC-5, as an example.

Dates

There are two* options:

  • 2024-05-21

  • 20240521

Impostors abound: 2024/05/21, 2024-5-21, 2024 05 21, 2024 May 21, etc. These are golden cows meant to lead you off the path of righteousness. You must use four-digit years**, two-digit months and days, and delimit with hyphens or nothing.

Times

There are four* options, two with an offset*** and two without:

  • T06:04:01.263-05:00

  • T060401.263-0500

  • T06:04:01.263

  • T060401.263

Omitting the offset makes the time ambiguous. It's a good idea to include it if you can.

Times with a positive offset use a plus sign instead of a hyphen-minus, e.g., T14:34:01.263+03:30. For times with no offset (UTC), you can use Z instead of +00:00, e.g., T11:04:01.263Z.

Midnight, 00:00:00, is the start of the day. As of recently, you can use 24:00:00 instead to represent the end of a day. This means that 2024-05-21T24:00:00Z and 2024-05-22T00:00:00Z represent the exact same instant.

You can omit smaller units if you don't need the accuracy. T06:04:01 and T0604 are OK.

You can omit the T if the context makes it unambiguous that it's a time and not a month with no day. (Does 202405 mean May 2024 or 8:24:05 PM?)

Putting it together

You must eitherโ€ฆ

  • use hyphens in the date and colons in the time, or

  • use neither.

Again, you have two* options:

  • 2024-05-21T06:04:01.263-05:00

  • 20240521T060401.263-0500

These are called extended format and basic format, respectively.

Thou shalt not use a space to separate the date and time. (That would be RFC 3339.)

Call to action

This is but the tip of the iceberg. I encourage you to gain a deeper understanding of the Holy Standard and grow in your knowledge of the Good Format by reading the Wikipedia page.

Footnotes

  • I'm ignoring less common ISO 8601 formats for simplicity. You can also represent today as 2024-W21-2 or 2024-142, for example. Different denominations, same religion.

** If everyone agrees to a specific higher number of digits, that's allowed with a plus or minus sign. For example, if you agree with me to use seven-year digits, then +0002024-05-21 is valid.

*** Offsets are not the same as time zones. US Central is a time zone. Sometimes it is offset five hours behind UTC; other times it is six hours behind.

๐ŸŒ
Nasa
fits.gsfc.nasa.gov โ€บ iso-time.html
International standard date and time notation
Especially authors of Web pages ... zone, software hints. ... where YYYY is the year in the usual Gregorian calendar, MM is the month of the year between 01 (January) and 12 (December), and DD is the day of the month between 01 and 31....
๐ŸŒ
ISO
iso.mit.edu โ€บ americanisms โ€บ date-format-in-the-united-states
Date Format in the United States | ISO
The United States is one of the ... date formatโ€“which is very very unique! The day is written first and the year last in most countries (dd-mm-yyyy) and some nations, such as Iran, Korea, and China, write the year first and the day last (yyyy-mm-dd). But why did Americans choose to write ...
Find elsewhere
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ List_of_date_formats_by_country
List of date formats by country - Wikipedia
1 week ago - For instance, depending on the order style, the abbreviated date "01/11/06" can be interpreted as "1 November 2006" for DMY, "January 11, 2006" for MDY, or "2001 November 6" for YMD. The ISO 8601 format YYYY-MM-DD (2026-03-14) is intended to harmonise these formats and ensure accuracy in all ...
๐ŸŒ
W3C
w3.org โ€บ TR โ€บ NOTE-datetime
Date and Time Formats
Year: YYYY (eg 1997) Year and month: YYYY-MM (eg 1997-07) Complete date: YYYY-MM-DD (eg 1997-07-16) Complete date plus hours and minutes: YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00) Complete date plus hours, minutes and seconds: YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00) Complete ...
๐ŸŒ
MIT
web.mit.edu โ€บ jmorzins โ€บ www โ€บ iso8601 โ€บ y2kiso.htm
What is ISO 8601
2 weeks ago - It is implemented throughout Europe as EN 28601 and in Britain as BS EN 28601. In America it is an ANSI standard. Basically to comply with the 'full' ISO format you need to: - Use 4-digit years when storing or printing dates. - Use the order Year-Month-Day for the date, i.e.
๐ŸŒ
TechTarget
techtarget.com โ€บ whatis โ€บ definition โ€บ ISO-date-format
What is the ISO date and time format?
ISO 27001, formally known as ISO/IEC 27001:2022, is an information security standard jointly created by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC).
๐ŸŒ
TimeAndDate
timeanddate.com โ€บ calendar โ€บ what is iso 8601?
What Is ISO 8601?
Date: The ISO 8601 format is YYYY-MM-DD (year, month, day). For example, April 15, 2025 would be written 2025-04-15.
๐ŸŒ
ANSI
blog.ansi.org โ€บ home โ€บ how the iso date format tells today
How the ISO Date Format Tells Today - The ANSI Blog
January 18, 2022 - With YYYY being the full year, MM representing 2 digits for the month, and DD representing two digits for the day. While the ISO date format is foreign to many, it is not without regular use.
๐ŸŒ
Tableau
help.tableau.com โ€บ current โ€บ pro โ€บ desktop โ€บ en-us โ€บ dates_calendar.htm
ISO-8601 Week-Based Calendar - Tableau
The result truncates an ISO-8601 date to the nearest ISO level if non-ISO-8601 date parts (day or month) are used. For example, adding one month to an ISO-8601 date results in the iso-week changing. The result is a Gregorian date unless you use the iso-year, iso-quarter, iso-week, or iso-weekday ...
๐ŸŒ
ANSI
blog.ansi.org โ€บ home โ€บ thanksgiving & iso 8601: how date standards clarify holidays
Thanksgiving & ISO 8601: How Date Standards Clarify Holidays - The ANSI Blog
July 7, 2022 - The standard uses the format YYYY-MM-DD (year-month-day) to eliminate confusion caused by different regional conventions for date formatting. Without ISO 8601-1:2019, dates like โ€œ01/02/2025โ€ could be interpreted as January 2nd or February ...