Quantcast
Viewing all articles
Browse latest Browse all 18858

Why DateTime.TryParseExact return false on different culture ?

Why this statement return false

DateTime.TryParseExact("lun", "ddd", new CultureInfo("it"), DateTimeStyles.None, out dt)

while

new DateTime(2013, 11, 18).ToString("ddd", new CultureInfo("it"))

return "lun" ?

What's the mess with it ?


Viewing all articles
Browse latest Browse all 18858

Trending Articles