The ASP Session LCID Property is used to set or get the locale identifier of a page that will be sent to the Browser. It sets or returns an integer that specifies the location or region contents like date, time, and currency of the region that will be displayed according to the location of a region. It is also known as local identifier Property.
Syntax:
Session.LCID(=LCID)
Parameter Values:
- LocaleID: It contains an integer value that represents a locale identifier.
Example: Below code demonstrates the use of the Local Identifier.
ASP
<%
response.write("
<p>")
response.write( "Default LCID is: " & Session.LCID & "<br>" )
response.write( "Date format is: " & date () & "<br>" )
response.write( "Currency format is: " & FormatCurrency(100))
response.write("</p>
")
%>
|
Output:
Default LCID is: 2048
Date format is: 12/11/2001
Currency format is: $100.0
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!