3 ms·
Here's an interesting date format most of HN probably haven't heard of; military date-time-groups[1]. 270009LFEB21 Translation: The 27th, 00:09, "L" timezon
by brnrr 6y ago
Here's an interesting date format most of HN probably haven't heard of; military date-time-groups[1].
270009LFEB21
Translation: The 27th, 00:09, "L" timezone (+11, NATO timezone[2]), February, 2021.
Advantages:
- it's much more compact than ISO8601.
- the most significant information is first; the date.
- the second-most significant information is second; the time.
- the timezone is a single alphanumeric character.
- when military paperwork has a box at the top that says "DTG", everyone knows the format.
- I'm pretty sure it's a standard across all NATO militaries.
[1] https://en.wikipedia.org/wiki/Date-time_group#Military_Date_Time_Group https://en.wikipedia.org/wiki/Date-time_group#Military_Date_...
[2] https://en.wikipedia.org/wiki/List_of_military_time_zones https://en.wikipedia.org/wiki/List_of_military_time_zones
- nayuki 6y agoI never heard of this before. It looks like an awful brain teaser, like an extension of the American middle-endian format to the extreme. ISO 8601: [YYYY][MM][DD][hh][mm][tz] (0 1 2 3 4 TZ) Military DTG: [DD][hh][mm][tz][MM][YY] (2 3 4 TZ 1 0)