Skip to content Learn about the access keys available for Metadata.NSW
A NSW Government website
Metadata.NSW (beta)

Definition

A calendar date in YYYY-MM-DD format

Representation

Description

Date YYYY-MM-DD Notation Elements, Meanings and Obligations

Element Meaning
YYYY A four digit year
MM A zero-padded month between 01 and 12
DD A zero-padded day between 01 and 31
Data Type DATE
Format YYYY-MM-DD
Maximum character length 10

Comments

Calendar date representations are in the form shown in the adjacent box. [YYYY] indicates a four-digit year, 0000 through 9999. [MM] indicates a two-digit month of the year, 01 through 12. [DD] indicates a two-digit day of that month, 01 through 31. For example, "5 April 1981" may be represented as either "1981-04-05" in the extended/complete format or "19810405" in the basic format.

References

https://www.iso.org/iso-8601-date-and-time-format.html
https://www.w3.org/TR/NOTE-datetime

Related content

Relation Count
Data Elements implementing this Value Domain 7