ISO 8601 style for date and time: quick notes posted 2020-12-18T01:54Z

image credit: Fabrizio Verrecchia*

quick notes on ISO 8601 style for date and time:
date and time values are ordered left to right, from largest unit of time to smallest, / ISO 8601 (!w2, !?)
and the sequence may end with any unit: year, month, day, hour, minute, …

basic format separates date from time with a capital T

extended format uses hyphens and colons to separate units within these fields

use extended format, not basic, in running text

midnight – 00:00 in extended format – marks the start of a day

time with no date: T00, T0000, T00:00, and 00:00 / examples for midnight

local time is implied if no offset is appended

to relate local time to UTC, append an offset* (negative for west of the IRM*)

a compliant offset for PST is −08, for PDST, −07  / Unicode minus sign, U+2212 (!?)

compliant offsets for UTC, aka Zulu time, include +00 and Z


20201217T1754−08

*a link; see a note on notes and links; see also a disclaimer / … and maybe browse or search the post archive*


2023-09-13 … screenshot of teaser for 2023-01 piece on Substack


views