formatting date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can i convert 2004-10-26T14:52:51.515Z to mm-dd-yyyy format? i am
getting this when querying exchange server for date recieved for messsages.

THanks in advance.

Manny
 
Hello Manny,

DateTime.Parse("2004-10-26T14:52:51.515").ToShortDateString();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top