by Markus Kuhn International Standard ISO 8601 specifies numeric representations of date and time.This standard notation helps to avoid confusion in international communication caused by the many different national notations and increases the portability of computer user interfaces.
Especially authors of Web pages and software engineers who design user interfaces, file formats, and communication protocols should be familiar with ISO 8601.
Contents: Date, time of day, time zone, software hints.
The international standard date notation is where YYYY is the year in the usual Gregorian calendar, MM is the month of the year between 01 (January) and 12 (December), and DD is the day of the month between 01 and 31.
For example, the fourth day of February in the year 1995 is written in the standard notation as Other commonly used notations are e.g.
ISO 8601 should however be used to replace notations such as “2/4/95” and “9.30 p.m.”.
Apart from the recommended primary standard notation YYYY-MM-DD, ISO 8601 also specifies a number of alternative formats for use in applications with special requirements.
All of these alternatives can easily and automatically be distinguished from each other: The hyphens can be omitted if compactness of the representation is more important than human readability, for example as in In commercial and industrial applications (delivery times, production plans, etc.), especially in Europe, it is often required to refer to a week of a year.
Week 01 of a year is per definition the first week that has the Thursday in this year, which is equivalent to the week that contains the fourth day of January.
2/4/95, 4/2/95, 95/2/4, 4.2.1995, 04-FEB-1995, 4-February-1995, and many more.