Jump to content

Format date type


Guest khtn

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...