W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2002

date & time pattern change

From: Avin Patel <vze49rz3@verizon.net>
Date: Mon, 23 Dec 2002 15:20:05 -0500
Message-ID: <002601c2aac0$aec1bb90$643a42d1@Avin>
To: "xmlschema" <xmlschema-dev@w3.org>

Hi All,
How can change the inbuilt date & time pattern, I.a.
date has the pattern CCYY-MM-DD, I want to change this pattern to CCYYMMDD.

So following notation is correct:
<xsd:simpleType name="MyDate" type="date">
   <xsd:restriction>
      <xsd:pattern value="CCYYMMDD"/>
   </xsd:restriction>
</xsd:simpleType>

Thank you,
Avin Patel
Received on Monday, 23 December 2002 15:20:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT