GetLocale

Gets the current geographic/language locale value.

To set the default display format of date, time, number, and currency values in a CFML application session, you use the SetLocale function.

GetLocale( )

Returns: String

This function does not take any arguments.

Examples

writeOutput(getlocale());
	writeOutput(' To ');
	setLocale('french(switzerland)');
	writeOutput(getlocale());

See also