Instant - String Format (ISO 8601)


The ISO 8601 is a calendar system

The ISO-8601 calendar system is the modern civil calendar system used today in most of the world. It is equivalent to the proleptic Gregorian calendar system, in which today's rules for leap years are applied for all time.

For most applications written today, the ISO-8601 rules are entirely suitable. However, any application that makes use of historical dates, and requires them to be accurate will find the ISO-8601 approach unsuitable.






It's also a date string format specification

Data elements and interchange formats – Information interchange – Representation of dates and times is an international standard covering the exchange of date and time-related data.

Even if the syntax has space for formatting, the final string is without space.


YYYYMMDD[T hh:mm:ss[.mmm]] [ Z | ±hh:mm | ±hhmm | ±hh ]


  • the brackets indicate optionality (the time, the fraction of second and zone component are optional)
  • The T is a literal character separating the date and the time
  • hh:mm:ss[.mmm] is the time component:
    • specified in the 24-hour format.
    • where the fraction of second mmm represents millisecond and is optional
  • The Z is a literal that represents the UTC time zone (The Z would come from Zulu Time)
  • ±hh:mm | ±hhmm | ±hh represents time zone offset from UTC

Documentation / Interference

Discover More
How to manipulate and show a Date Time in Javascript?

In javascript, date time information is represented in a a date object that: encapsulates the epoch time in milliseconds is timezone-agnostic returns the number of milliseconds...
Bash Liste Des Attaques Ovh
How to use the date / time variable in Bash?

This page is the management of time variable in Bash. Format Conditional Double Bracket example Name Double Bracket operator Single Bracket Operator RegularExpression matching =~ ...
Date Format
Instant - (Time|Date) String Format

A date can be represented as a string. The most known format are by order of importance: (ie 2004-02-12T15:19:21+00:00) Email (Internet Message Format) (ie Sat, 12 Aug 1995 13:30:00 GMT) The...
Java Conceptuel Diagram
Java - LocalDate

java/time/LocalDate - A date in the ISO-8601 calendar system, such as 2007-12-03 without a time-zone without the time part (only YYYY-MM-DD) (ie with day precision) in the default time zone...
Java Conceptuel Diagram
Java - Time

Java.time package supplants the old java.util.Date/Calendar classes. java/time/package-summaryjava.time since JDK1.8. It contains the main API based on the ISO-8601 standard. See 310Date and Time Api...
Multilingual Regular Expression Syntax (Pattern)

Regular expression are Expression that defines a pattern in text. This is therefore a language that permits to define structure of a text. They are a mathematically-defined concept, invented by Stephen...
Card Puncher Data Processing
Php - Time (Date)

See date In Iso 8601 Epoch Timestamp in second precision with time Unix timestamp (in second) One hour ago Example datetime.diffDateTime Diff with DateTime object ...
Puppeteer - How to pass back and forth a date (or a complex type) to the headless browser via the evaluate function

A step by step guide that shows how to serialize and deserialize an object with a date ( ) when using the puppeteer evaluate...
Sqlite Banner
SQLite - Date

The date data type in SQLite context does not exist. It is not an affinity. SQLite are capable of storing dates and times with the following data type (affinity) as: TEXT with ISO8601 strings (“YYYY-MM-DD...
Card Puncher Data Processing
TSQL - Date

The cast, convert and conversion permits to initialize a date. See string format and datatype The values that are returned for DATEPART...

Share this page:
Follow us:
Task Runner