Thanks - that article was really useful. If I didn't want to change the server settings for date and just wanted to format it to a UK format on a one-off, would it be possible to do that? (The article only lists how to format currency etc.)
You can set the Local ID on a specific webpage, and it should return the date in that specific Local settings. You do this through the session object. I haven't tested this much, so I don't know how reliable this is.
<% Session.LCID = 0809 'Hex value for the UK %>
That technically should work too, but again, I'd test it. %>
VBScript normally returns dates formatted to the settings on whatever server it is on. If you want to be really sure that it formats it a different way, you could build your own date using Day(date), Month(date), and Year(date) to build a string.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.