I have one Classic Asp application running in IIS 7. As I wanted to have UK regional settings, I have made changes in:
- Control Pane's Regional settings
- Manual changes to registry for HKEY_CURRENT_USER and all users under HKEY_USERS
- IIS 7, Features, .Net Globalization settings
But I am still not getting the date time format I have set up which is "dd/MM/yyyy". This is obvious when I call CStr or FormatDateTime function in my application.
I have ever heard of IIS's locale caching. Does it have to do anything with my problem?
Have you got localization set in your ASP page? It could be that your browser is using that to determine what date format should be shown.
We tend to get dates in the database in the normal format and then convert using FormatDateTime to get around it. Hope that helps.