php / 8.1.5 / intltimezone.getdisplayname.html /

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/intltimezone.getdisplayname.php