date¶
An ISO 8601 date.
Optional Parameters
Value constraints -
date( min, max, format )The format, when specified is used to read/write the value into external representations even though internally the value may be represented as a date.
An optional range can be specified to a
datein order to specify a restriction on permitted values. The values forminandmaxcan be a ISO 8601 date string value or*to indicate wildcard maximum or minimum permitted value.Examples
date("1900-01-01","2100-01-01")A date between 1900-01-01 and 2100-01-01.date(*,"2000-01-01")A date between lowest date supported by target language and 2000-01-01.date("2000-01-01",*)A date between 2000-01-01 and highest date supported by target language.date(*,*,"YYYY-MM")No date range restrictions, but a format for reading/writing dates is specified.