Skip to content

Locale constants

Include: Use System\Locale.pkg

Purpose

Locale constants identify the built-in locale names accepted by Set_Locale and Set_Attribute DF_LOCALE.

Constants

Constant Value Represents
DF_LOCALE_NATIVE "native" Native system locale.
DF_LOCALE_POSIX "C" POSIX C locale.
DF_LOCALE_USA "__df_usa" Built-in USA-style locale.
DF_LOCALE_EUROPE "__df_europe" Built-in European-style locale.
DF_LOCALE_MILITARY "__df_military" Built-in military-style date/time locale.
DF_LOCALE_ISO8601 "iso8601" Built-in ISO-8601 locale.
DF_LOCALE_ECMASCRIPT DF_LOCALE_ISO8601 Alias for the ISO-8601 locale.

Example

Use System\Locale.pkg

Set_Locale to DF_LOCALE_ISO8601