Skip to content
Related Articles

Related Articles

ASP Session LCID Property
  • Last Updated : 23 Feb, 2021
GeeksforGeeks - Summer Carnival Banner

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 

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :