Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function SETLOCALE

Sets the country/language locale for CFML processing
and the page returned to the client. The locale value
determines the default format of date, time, number, and
currency values, according to language and regional
conventions.

Example

setlocale(string new_locale):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
new_locale string  Yes The name of a locale; for example, \"English (US)\"