PHP 8.1.31 Released!

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):

public IntlTimeZone::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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top