Assuming I have a DateTime
object in C#, and the date is 3rd of january 2011
.
In some locales it would be 03/01/2011
and in some it would be 01/03/2011
How can I get computer's regional settings in order to show the datetime.toString()
the appropriate value?