I need to show timestamp as shown below in my .Net application:
13/12/2007 5:04 PM EST
or
13/12/2007 5:04 PM CST
depending upon the US timezone.
How do i achieve this functionality using C#??
Thanks for reading.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
returns
6/10/2009 7:45:14 PM Central Standard Time
TimeZone.CurrentTimeZone.StandardName will return the long name and I believe you will have to modify your code a bit to get the abr. for each zone.