You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 123 Next »
XSD DateTime type
The dateTime is specified in the following form "YYYY-MM-DDThh:mm:ss.s+" where:
Note:
The following is an example of a dateTime declaration in a schema:<xs:element name="startdate" type="xs:dateTime"/>
An element in your document might look like this:<startdate>2002-05-30T09:00:00</startdate>If UTC: <startdate>2002-05-30T09:00:00Z</startdate>
2021-12-13: Updated with "s+"
Describe time zone for all of date, time and dateTime.