2.7.2 Compact DateTime

A Compact DateTime value is a representation of a UTC date and time within an element of type xs:string, as specified in [XMLSCHEMA2/2] section 3.2.1. The format of a Compact DateTime value is specified by the following Augmented Backus-Naur Form (ABNF) notation.

 date_string   = year month day "T" hour minute seconds "Z"
 year          = 4*DIGIT
 month         = ("0" DIGIT) / "10" / "11" / "12"
 day           = ("0" DIGIT) / ("1" DIGIT) / ("2" DIGIT) / "30" / "31"
 hour          = ("0" DIGIT) / ("1" DIGIT) / "20" / "21" / "22" / "23"
 minute        = ("0" DIGIT) / ("1" DIGIT) / ("2" DIGIT) / ("3" DIGIT) / ("4" DIGIT) / ("5" DIGIT)
 seconds       = ("0" DIGIT) / ("1" DIGIT) / ("2" DIGIT) / ("3" DIGIT) / ("4" DIGIT) / ("5" DIGIT)