You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Typedate
Description

XSD Date type

Comments

Additional information below

XML typexs:date
StatusApproved

Additional information

The date data type is used to specify a date.

The date is specified in the following form "YYYY-MM-DD" where:

  • YYYY indicates the year
  • MM indicates the month
  • DD indicates the day

Note: All components are required!

The following is an example of a date declaration in a schema: <xs:element name="start" type="xs:date"/>

 An element in your document might look like this: <start>2002-09-24</start> 

  • No labels