Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27374

[VB2010] Get the REAL OS datetime format

$
0
0
How to get the datetime format set in the OS control panel for every single user?

System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern

gets the CURRENT THREAD DateTime format, and can be changed with a Thread.CurrentThread.CurrentCulture = .......... code.

I need the OS settings, not the CurrentThread.CurrentCulture settings

Ty

Viewing all articles
Browse latest Browse all 27374

Trending Articles



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