1

I have a string in this format:

"Fri, 18 Mar 2011 18:53:15 EDT"

I want to convert this to datetime object, the problem is with EDT, at the end. If I use GMT DateTime.TryParse works fine, but if it is something else like EDT, it return false.

nulltoken
  • 64,429
  • 20
  • 138
  • 130
Mazdak
  • 771
  • 2
  • 11
  • 24

1 Answers1

1

Check out the TimeZoneInfo class and this question, or the definitive time zone guide.

Community
  • 1
  • 1
Martin
  • 11,031
  • 8
  • 50
  • 77