[Mono-list] ParseExact functionality
Harry Holt
harryholt at gmail.com
Fri Jun 10 07:58:18 EDT 2005
I'm having a problem converting an ldap date string into a C# DateTime
under mono. The function I'm using is:
DateTime.ParseExact("20050707132527Z", "yyyyMMddHHmmss\\Z",
System.Globalization.DateTimeFormatInfo.CurrentInfo);
Under mono, this throws an "Invalid Format" exception, but it works
fine under Microsoft .NET.
Same thing using System.Globalization.DateTimeFormatInfo.InvariantInfo
Thx... HH
More information about the Mono-list
mailing list