Locale$

Purpose:

Returns information about the country settings, for example currency, decimals, separators, language and country code. The code for the appropriate country is entered in the second parameter, if no second parameter is used the default country settings will be used.

Parameter:

Number       Index of Locale Entry (see Locale Information Constants in the Microsoft documentation).

String          (optional) Country code/ISO Code of country, whose format is to be used. Format: <ISO639>-<ISO3166> e.g. de-de or en-us.

Return value:

String

Example:

Locale$(42,"en-us")             Result: "Monday"