The xs:dateTime type combines a Gregorian calendar date with a time in the format YYYY-MM-DDThh:mm:ss where YYYY is the year (0001-9999), MM is the month (01-12), DD is the day (01-31), hh is hours (00-23), mm is minutes (00-59) and ss is seconds (00-59). T divides the date and time parts.
The XML standard allows for an optional “-” (minus sign) before the date to signify B.C. (For example, “-100” is equivalent to 100 B.C.)
xs:dateTime data may also include time zone information relative to Coordinated Universal Time (UCT), in the format ±hh:mm, for example, 2007-04-23T09:43:23+06:00 or 2008-05-09T15:03:37Z (for 00:00, that is, no offset).
Related topics
© 2009-2012 SirsiDynix