Jump to content

Format date type


Guest khtn
 Share

Recommended Posts

  • 1 month later...
I want to format date type such as "dd/mm/yyyy". How can i do that ? Anyone who know, please introduce me. Thanks a lot

<xs:simpleType name="MyFormattedDate"> <xs:restriction base="xs:String"> <xs:pattern value="(([0-9]){2}/){2}[0-9]{4}" /> </xs:restriction> </xs:simpleType>This element whill only allow xx/xx/xxxx with x = any number<xs:element name="RecID" type="MyFormattedDate" />
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...