N
Nugnet
Hi,
I have an ASP.NET web application that I want to be locale sensitive. I
set my regional options to be English (United States) and rebooted my
machine (normally have English(United Kingdom setting)).
I then ran the web app and on a page where I wanted to display a
default date of the current date, I had a call to
DateTime.ToShortDateString().
The date that was displayed on the page still used the English (United
Kingdom) date format (i.e. dd/mm/yyyy).
Is there some other setting required in ASP.NET to display the current
locales date format. I wrote a small app to display the CurrentLocale
and CurrentUILocale and they both were English (United States).
Thank you in advance for any help
John
I have an ASP.NET web application that I want to be locale sensitive. I
set my regional options to be English (United States) and rebooted my
machine (normally have English(United Kingdom setting)).
I then ran the web app and on a page where I wanted to display a
default date of the current date, I had a call to
DateTime.ToShortDateString().
The date that was displayed on the page still used the English (United
Kingdom) date format (i.e. dd/mm/yyyy).
Is there some other setting required in ASP.NET to display the current
locales date format. I wrote a small app to display the CurrentLocale
and CurrentUILocale and they both were English (United States).
Thank you in advance for any help
John