DataTime display formats for cultures en-US and en-GB are same?
Hi all,
Following is part of my code from a simple Windows Form. All I want is to display the current date in British format (dd/mm/yy), but despite providing the culture info for en-GB, the form still displays the date as mm/dd/yy.
Please assist.
CultureInfo ci = new CultureInfo("en-GB");
MessageBox.Show("the date is: "+System.DateTime.Today.Date.ToString("d", ci));
Best Regards
Aamir
P.S. I will highly appreciate a quick help
P.P.S. The above code works fine if the CultureInfo is set to be of German standard "de-DE". It demonstrates the date as dd/mm/yyyy. Is the reason for not showing the British format as dd/mm/yy a flaw in the culture definition???