Guest developer_1 Posted June 29, 2006 Share Posted June 29, 2006 i have created an XML file and XSD file. And i have to enter Date from a TextBox [ASP.net (using C#) as front ent ].i want only "Date" in one of my element ,so in XSD file i haev declared "Type=Date",But in XML it is storing as" <Donor_Letter_Date>2000-12-12T00:00:00.0000000+05:30</Donor_Letter_Date>"In this format can u please guide me .how to proceed .As i want only date in this elementThank You Link to comment Share on other sites More sharing options...
Reg Edit Posted August 10, 2006 Share Posted August 10, 2006 2000-12-12T00:00:00.0000000+05:30i want only date in this elementBut the value you've shown is a date, in one of the XML date formats (see http://www.w3schools.com/schema/schema_dtypes_date.asp).Are you saying you don't want the time/UTC-offset included, you just want the date on its own?You should be able to format the date when you get the value from the textbox to your XML file. If you still need help, can you say more about the way you do this part. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now