- From: Kiran Edukulla <kiran@nightfire.com>
- Date: Thu, 21 Feb 2002 10:34:14 -0800
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Hi, I have a question about date and time formatting in schemas. I need to output a date field as "MM-DD-CCYY" and time field as HHMM(AM/PM). Currently I am using xs:date and xs:time as <xs:element name="AAA"> <xs:complexType> <xs:attribute name="value" type="xs:date" use="required"/> </xs:complexType> </xs:element> <xs:element name="BBB"> <xs:complexType> <xs:attribute name="value" type="xs:time" use="required"/> </xs:complexType> </xs:element> Any ideas how to do formatting of date and time fields. Thanks, Kiran
Received on Thursday, 21 February 2002 13:35:00 UTC