M
Michael Meckelein
Hello,
Wondering, if C# (framework 2.0) does not support parsing DateTime timezones
in three letter acronyms.
I would like to parse date strings like "2005 Nov 01 11:58:47.490 CST -6:00"
but it seems C# does not support the timezone letters (CST). I suppose to
use the symbol ZZZ for the timezone letters, but MSDE [1] pointed out that
it is not supported in C#, isn't it?
Of course I can write my own methode for parsing this (using regex or a list
of timezones, etc.) but I want to ask if there is no "build-in" support in
the 2.0 framework?
Best Regards,
Michael Meckelein
[1] DateTimeFormatInfo Class
http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.aspx
Wondering, if C# (framework 2.0) does not support parsing DateTime timezones
in three letter acronyms.
I would like to parse date strings like "2005 Nov 01 11:58:47.490 CST -6:00"
but it seems C# does not support the timezone letters (CST). I suppose to
use the symbol ZZZ for the timezone letters, but MSDE [1] pointed out that
it is not supported in C#, isn't it?
Of course I can write my own methode for parsing this (using regex or a list
of timezones, etc.) but I want to ask if there is no "build-in" support in
the 2.0 framework?
Best Regards,
Michael Meckelein
[1] DateTimeFormatInfo Class
http://msdn2.microsoft.com/en-us/library/system.globalization.datetimeformatinfo.aspx