We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Dates should be in one of the following formats:
YYYY
YYYY-MM
YYYY-MM-DD
YYYY-MM-DDThhZ
YYYY-MM-DDThh:mmZ
YYYY-MM-DDThh:mm:ssZ
where:
Y
M
01
12
D
31
h
00
23
m
59
s
T
Z
To validate a "date and time of day" representation, the following regular expression is sufficient:
^[0-9]{4}((-[0-9]{2}){0,2}|(-[0-9]{2}){2}(T[0-9]{2}(:[0-9]{2}(:[0-9]{2})?)?Z)?)$