A DateTimevalue is encoded as an xs:dateTimevalue.

All DateTime values shall be encoded as UTC times or with the time zone explicitly specified.

Correct:

2002-10-10T00:00:00+05:00

2002-10-09T19:00:00Z

Incorrect:

2002-10-09T19:00:00

It is recommended that all xs:dateTimevalues be represented in UTC format.

The earliest and latest date/time values that can be represented on a DevelopmentPlatformhave special meaning and shall not be literally encoded in XML.

The earliest date/time value on a DevelopmentPlatformshall be encoded in XML as '0001-01-01T00:00:00Z'.

The latest date/time value on a DevelopmentPlatformshall be encoded in XML as '9999-12-31T23:59:59Z'

If a decoder encounters a xs:dateTimevalue that cannot be represented on the DevelopmentPlatformit should convert the value to either the earliest or latest date/time that can be represented on the DevelopmentPlatform. The XML decoder should not generate an error if it encounters an out of range date value.

The earliest date/time value on a DevelopmentPlatformis equivalent to a null date/time value.