Testing LCID values

Current Session.LCID = 1033  
Current VBScript locale = 1033  

now = 6/25/2019 9:20:31 PM
month = June
date #1/12/90# = 1/12/1990
currency = $1,235.00
12345.67 = 12,345.67
true, false = True, False

SetLocale Server.LCID Set which first
US
UK
France
Don't set
US
UK
France
Don't set
Session.LCID
SetLocale

Setting values of ...
Cookie( "firstDecemberDate") to #12/01/2002#
Session( "firstDecemberDate") to #12/01/2002#

Cookies
1 ... firstDecemberDate = 12/1/2002
2 ... truthValue = True
3 ... curValue = 12.34
Cookie( "firstDecemberDate").month = December
Cookie( "firstDecemberDate") = 12/1/2002
#12/01/2002# = 12/1/2002

Session
1 ... = 12/1/2002
2 ... = True
3 ... = 12.34
session( firstDecemberDate).month = December

Notes :
CDate recognizes date formats according to the locale setting of your system. The correct order of day, month, and year may not be determined if it is provided in a format other than one of the recognized date settings. In addition, a long date format is not recognized if it also contains the day-of-the-week string.

The following example uses the CDate function to convert a string to a date. In general, hard coding dates and times as strings is not recommended. For example Cookie( "firstDecemberDate").month (above) will on some systems be shown as January. Use date and time literals (such as #10/19/1962#, #4:45:23 PM#) instead.