I'm having trouble formatting this string into a reader friendly date. 2003-08-10T230157Z I'm displaying it in a data grid. Usually I would use DataFormatString="{0:d}" attribute of the datagrid, but this doesn't work. I would like it displayed like this: 8/10/2003
6:01:57 PM Help appreciated, Dan
That will give me the presenet datetime, I need to format the date that I retrieve from the database that is stored as a string because that's the way I get it from my source. Dan
DanTheMan
Member
205 Points
41 Posts
Date Formatting
Aug 11, 2003 12:09 AM|LINK
SreedharK
All-Star
18571 Points
3119 Posts
MVP
Re: Date Formatting
Aug 11, 2003 03:52 AM|LINK
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
DanTheMan
Member
205 Points
41 Posts
Re: Date Formatting
Aug 11, 2003 04:45 PM|LINK
SreedharK
All-Star
18571 Points
3119 Posts
MVP
Re: Date Formatting
Aug 11, 2003 11:20 PM|LINK
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti