IntlTimeZone::getDisplayName

intltz_get_display_name

(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)

IntlTimeZone::getDisplayName -- intltz_get_display_nameGet a name of this time zone suitable for presentation to the user

Description

Object-oriented style (method):

publicIntlTimeZone::getDisplayName(bool$dst = false, int$style = IntlTimeZone::DISPLAY_LONG, ?string$locale = null): string|false

Procedural style:

intltz_get_display_name(
    IntlTimeZone$timezone,
    bool$dst = false,
    int$style = IntlTimeZone::DISPLAY_LONG,
    ?string$locale = null
): string|false

Warning

This function is currently not documented; only its argument list is available.

Parameters

dst

style

locale

Return Values

To Top