Sets the locale.
Category: | Information and Conversion |
Returned data type: | String |
Notes: | The returned value is a string of the current locale setting. |
This function affects certain operations such as converting and date operations. This function returns the previous locale. If no parameter is passed, the current locale is returned. The locale setting is a global setting. |
my_locale = locale("DEU") my_locale = locale("German") my_locale = locale("German_Germany") my_locale = locale("German_Germany.1252")