2.1.6 Date

The Date data type<3> supports a value range from 0001-01-01 through 9999-12-31. The values of this data type are represented in the Unicode YYYY-MM-DD string format, as follows.

  
 Year = ("000"(%x31-39)) / ("00"(%x31-39)DIGIT) / ("0"(%x31-39)2DIGIT) 
 Year =/ ((%x31-39)3DIGIT)
 Month = ("0"(%x31-39)) / ("1"("0"/"1"/"2"))
 Day = ("0"(%x31-39)) / (("1"/"2")DIGIT) / ("3"("0"/"1"))
 Date = Year "-"  Month "-" Day