Skip to main content

ISO 8601 Date Format

The format ISO 8601 Date can be described as:

  • YYYY-MM-DDTHH:MM:SS.sssZ

Breaking it down:

  • YYYY: Represents the 4-digit year (e.g., 2019).
  • MM: Represents the 2-digit month (e.g., 09 for September).
  • DD: Represents the 2-digit day of the month (e.g., 19).
  • T: This is a separator that indicates the start of the time portion.
  • HH: Represents the 2-digit hour of the day using a 24-hour clock (e.g., 05).
  • MM: Represents the 2-digit minute (e.g., 41).
  • SS: Represents the 2-digit second (e.g., 53).
  • .sss: Represents the fractional seconds to three decimal places (milliseconds) (e.g., .150).
  • Z: Indicates that the time is in Coordinated Universal Time (UTC).

In plain terms, the format describes a date and time down to the millisecond, using UTC time.