略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: IntlTimeZone::getDisplayName

2024-12-21

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

说明

面向对象风格 (method):

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

过程化风格:

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

警告

本函数还未编写文档,仅有参数列表。

参数

dst

style

locale

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/intltimezone.getdisplayname.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3