I’m performing an HttpWebRequest against an IIS server.
One of the response headers is Date, which I’d like to parse.
This is its value:
"Sun, 11 Oct 2009 08:16:13 GMT"
How do I parase this string? DateTime.Parse didn’t quite work out well for me.
Thanks!
use
DateTime.TryParseOutputs:
Note: the time is little off the mark, I think it is being converted to local time.