Locale ID

Which Locale ID (LCID) displays YYYY-MM-DD (ISO 8601)?

View Replies


ADVERTISEMENT

Set Locale

We have a classic ASP site running on IIS 5. We will be using a com
component to handle session state so we can share state between .net and
classic. This means switching the IIS session state off. Prior to this
locale was set in the session. Switching the session off means the dates
start displaying in a US format, not British. Is there any way of setting
the Locale as UK easily.

As it is IIS 5 we can't use response.lcid, I don't
want to mess around with regional settings on the machine as our
applications aren't very well designed :) and I will get the blame for
breaking them. I don't want to put a page directive in over 1000 asp page.
Is there anyway of setting it at an application level in IIS.

View Replies View Related

Changing Time Locale.....

I am using:

<%
Locale = Session.LCID
Session.LCID = &H1033
Response.Write FormatDateTime(Time)
Session.LCID = Locale
%>

as I am hosted on a US server, but I need to display the time in GMT. This code still displays the server time though. Would it be better to just display <%=Time()%> and then knock 5 hours off the US time? If so, would <%Time(-5)%> work?

View Replies View Related

Locale-dependent Date&Time Input Via HTML Forms -

In our legacy asp/web-application, we have
date/time-input form in USA style
(i.e. mm/dd/yyyy and 12hour-scale time with AM/PM).
There is also some validation code on client side,
and then submitted data are used in MSSQL queries.

Now I would like to know about how to generate locale-dependent
HTML form layout, and what ready-made ASP code could I borrow
for this task.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved