GetLocale

Returns the decimal value of the local computers LocaleID.

Syntax 
      getLocale()

Examples

Dim myLocale

'Get current location
myLocale = GetLocale()

PowerShell equivalent, get the value of the LCID property:

$localeID = (get-culture).lcid

Get the locale string:

$locale = (get-culture).displayname

“Who looks outside, dreams; who looks inside, awakes” ~ Carl Gustav Jung

Related VBScript commands

LCase - Return String in lower case.


 
Copyright © 1999-2025 windevcluster.com
Some rights reserved