Set LocalID to UK : Active Server Pages (ASP)

This small piece of code is used to set the locality ID to UK to ensure dates and other regional data is set correctly. Produces dates as dd/mm/yyyy if you enter now()


You simply need to have some experience of ASP pages, and feel comfortable entering hand code.


Add the following code to your ASP section on the web pages you wish to use it

‘Sets the Locale ID session property to UK region
Session.LCID = 2057