Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Why DateTime.TryParseExact return false on different culture ?

$
0
0

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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>