phpday 2027 - Call for Papers

IntlTimeZone::getDisplayName

intltz_get_display_name

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

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

Description

Object-oriented style (method):

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

Procedural style:

function 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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top