Is the following date string a currently valid ISO 8601 formatted string?
2016-09-18T17:34:02.666Z
On the wiki for 8601 I don't see this format, however it is specified here.
10-15-2019 11:09 AM ISO 8601 specifies that the date portion of a Date Time string is always formatted as yyyy-MM-dd. Yours is formatted as dd/MM/yyyy. Switch the order around and you should be fine.
Basic Principles of the ISO 8601 Standard. The ISO 8601 standard defines an internationally recognized format for representing dates and times. For times, they are expressed with the notation hours-minutes-seconds. In the case of dates, the format is year-month-day.
Issued in February 2019, the fourth revision of the standard ISO 8601-1:2019 represents slightly updated contents of the previous ISO 8601:2004 standard, whereas the new ISO 8601-2:2019 defines various extensions such as uncertainties or parts of the Extended Date/Time Format (EDTF).
ISO 8601-2:2019 defines a set of standardised extensions to the ISO 8601 date and time formats. The EDTF is given as an example of a profile of ISO 8601. Some of its features are: Uncertain and approximate qualifiers, '?' and '~', as well as their combined used, '%'; they can be applied to the whole date or to individual components.
according to the documentation here: https://www.w3.org/TR/NOTE-datetime The proper formatting is:
YYYY-MM-DDThh:mm:ssTZD
so yes, it is
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With