Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Session Object
All Collections
All Events
All Methods
All Objects
All Properties
PROPERTY: Session.LCID
The
LCID
property uses the location identifier number to access information on display format issues, such as currency, date, and time, that are specific to a location or region. The location identifier number uniquely defines a geographic location or region. For example, the location identifier number for France is 1036.
Code:
<%
Response.Write "This is the LCID for this page " &
Session.LCID
& "<BR>"
Response.Write "This is the Time and Date format for the above LCID: " & NOW() & "<BR>"
Session.LCID
= 1033
Response.Write "This is the LCID for this page now " &
Session.LCID
& "<BR>"
Response.Write "This is the Time and Date format for the above LCID: " & NOW() & "<BR>"
Session.LCID
= 3079
%>
Output:
This is the LCID for this page 1033
This is the Time and Date format for the above LCID 5/12/99 10:01:33 PM
This is the LCID for this page now 3079
This is the Time and Date format for the above LCID 12.05.99 22:01:33
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information