Lucee Function Reference

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(locale new_locale):locale

Arguments

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