The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
| Constants | Description |
nl_langinfo() LC_TIME Category ConstantsABDAY_1 (int) | Abbreviated name of first day of the week. |
ABDAY_2 (int) | Abbreviated name of second day of the week. |
ABDAY_3 (int) | Abbreviated name of third day of the week. |
ABDAY_4 (int) | Abbreviated name of fourth day of the week. |
ABDAY_5 (int) | Abbreviated name of fifth day of the week. |
ABDAY_6 (int) | Abbreviated name of sixth day of the week. |
ABDAY_7 (int) | Abbreviated name of seventh day of the week. |
DAY_1 (int) | Name of the first day of the week. |
DAY_2 (int) | Name of the second day of the week. |
DAY_3 (int) | Name of the third day of the week. |
DAY_4 (int) | Name of the fourth day of the week. |
DAY_5 (int) | Name of the fifth day of the week. |
DAY_6 (int) | Name of the sixth day of the week. |
DAY_7 (int) | Name of the seventh day of the week. |
ABMON_1 (int) | Abbreviated name of the first month of the year. |
ABMON_2 (int) | Abbreviated name of the second month of the year. |
ABMON_3 (int) | Abbreviated name of the third month of the year. |
ABMON_4 (int) | Abbreviated name of the fourth month of the year. |
ABMON_5 (int) | Abbreviated name of the fifth month of the year. |
ABMON_6 (int) | Abbreviated name of the sixth month of the year. |
ABMON_7 (int) | Abbreviated name of the seventh month of the year. |
ABMON_8 (int) | Abbreviated name of the eighth month of the year. |
ABMON_9 (int) | Abbreviated name of the ninth month of the year. |
ABMON_10 (int) | Abbreviated name of the tenth month of the year. |
ABMON_11 (int) | Abbreviated name of the eleventh month of the year. |
ABMON_12 (int) | Abbreviated name of the twelfth month of the year. |
MON_1 (int) | Name of the first month of the year. |
MON_2 (int) | Name of the second month of the year. |
MON_3 (int) | Name of the third month of the year. |
MON_4 (int) | Name of the fourth month of the year. |
MON_5 (int) | Name of the fifth month of the year. |
MON_6 (int) | Name of the sixth month of the year. |
MON_7 (int) | Name of the seventh month of the year. |
MON_8 (int) | Name of the eighth month of the year. |
MON_9 (int) | Name of the ninth month of the year. |
MON_10 (int) | Name of the tenth month of the year. |
MON_11 (int) | Name of the eleventh month of the year. |
MON_12 (int) | Name of the twelfth month of the year. |
AM_STR (int) | String for Ante meridian. |
PM_STR (int) | String for Post meridian. |
D_T_FMT (int) | String that can be used as the format string for strftime() to represent time and date. |
D_FMT (int) | String that can be used as the format string for strftime() to represent date. |
T_FMT (int) | String that can be used as the format string for strftime() to represent time. |
T_FMT_AMPM (int) | String that can be used as the format string for strftime() to represent time in 12-hour format with ante/post meridian. |
ERA (int) | Alternate era. |
ERA_YEAR (int) | Year in alternate era format. |
ERA_D_T_FMT (int) | Date and time in alternate era format (string can be used in strftime()). |
ERA_D_FMT (int) | Date in alternate era format (string can be used in strftime()). |
ERA_T_FMT (int) | Time in alternate era format (string can be used in strftime()). |
ALT_DIGITS (int) | Alternative symbols for digits. |