UK Dates and the global.asa file
If you want your ASP application to use British dates (or other countries) without the need to explicitly set the locale on every page then the following code should be placed in the global.asa file, located in the root of the site.
<script language=VBScript runat=Server>
sub Session_OnStart()
Session.lcid = 2057 ' Set locale to british
end sub
</script>
This works well for UK dates on II5 and IIS6, however, you may have problems with IIS4.
Published Thursday, June 03, 2004

