Date
An ISO 8601 compliant date type.
Syntax
The date literal consists of the following values, separated by a -
:
-
either a four-digit year or a sign with any number of digits for the year (e.g.
+252525
meaning year 252525), -
a two-digit month of the year,
-
and a two-digit day of that month.
Example date literals
2024-03-30
+12345-09-21
#!test[read]
#{{
match
let $x = 2024-03-30;
let $y = +12345-09-21;
#}}
The minimum supported date is January 1, 262144 BCE, and the maximum supported date is December 31, 262142 CE. |