3 ms·
Most often I see this as an example of ISO 8061 date, https://www.iso.org/iso-8601-date-and-time-format.html https://www.iso.org/iso-8601-date-and-time-format.h
by avmich 6y ago
Most often I see this as an example of ISO 8061 date, https://www.iso.org/iso-8601-date-and-time-format.html https://www.iso.org/iso-8601-date-and-time-format.html .
"Looking for an unambiguous calendar-and-clock format that is internationally understood? It’s time for ISO 8601."
"ISO 8601 tackles this uncertainty by setting out an internationally agreed way to represent dates:
YYYY-MM-DD
For example, September 27, 2012 is represented as 2012-09-27."
- titzer 6y agoYes, yes, yes, please use ISO 8601! Big-endian is the only rational way to sort dates and it combines nicely with time-of-day as well.
- sargun 6y agoBig endian is also much easier to read as someone who reads from left to right.
- sargun 6y agoYep. Although I don’t use ISO8601 for time stamps when communicating online (for 2021-03-01T00:00Z is more confusing to me than 2021-03-01 16:00 PST8PDT), it’s easier to use for dates when discussing in an online forum where people may be from outside of the US.
- grzm 6y agonit: ISO8601 permits offsets: you don't need to always use UTC/Z. 2021-03-01T16:00-0800 works just fine.