Changing the Date, Time and Currency Format in Classic ASPOur shared hosting servers are set to the UK locale (English - United Kingdom, LCID 2057). Classic ASP shows dates day first, for example 25/12/2026, and currency in pounds. To use a different format for your website, set the LCID in your own code. To change it for the whole site, add this to your global.asa file:
Or place this at the top of each page you want to change:
Replace 1033 (English - United States) with the LCID for your country from the chart below. This changes only how dates, times and currency are shown. It does not move times to another time zone. When saving dates to a database, use an unambiguous format such as yyyy-mm-dd, so the date is read the same way whatever the locale. LCID Chart
Back To Hosting Knowledgebase Menu |
Fully managed or self-managed, from our own solar powered data centre.
Web Wiz® is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.
Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, €, prices shown as a guideline only.
Copyright ©2001-2026 Web Wiz® Ltd. All rights reserved.