小白教程
所有教程
关于
Search
172.70.178.72
172.70.178.72
参数设置
贡献
退出
操作
编辑
移动
保护
信息
历史
删除
查看“Func date timezone identifiers list”的源代码
本页内容
上一节:
Func_date_timezone_abbreviations_list
下一节:
Func_date_timezone_location_get
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{DISPLAYTITLE:timezone_identifiers_list()}}[[Category:PHP Date 参考手册|41]] = PHP timezone_identifiers_list() 函数 = [[:Category:PHP Date 参考手册]] 输出非洲的所有时区: <sample title="" desc="" lang="php" hererun="1"> <?php print_r(timezone_identifiers_list(1)); ?> </sample> == 定义和用法 == timezone_identifiers_list() 返回带有所有时区标识符的数值数组。 == 语法 == <pre> timezone_identifiers_list(what,country); </pre> {| class="table table-striped table-hover" ! 参数 ! 描述 |- | what | 可选。规定一个 DateTimeZone 类常量1 = AFRICA2 = AMERICA4 = ANTARCTICA8 = ARCTIC16 = ASIA32 = ATLANTIC 64 = AUSTRALIA128 = EUROPE256 = INDIAN512 = PACIFIC1024 = UTC2047 = ALL4095 = ALL_WITH_BC4096 = PER_COUNTRY |- | country | 可选。规定两个字母的 ISO 3166-1 兼容的国家代码。 |} == 技术细节 == {| class="table table-striped table-hover" | 返回值: | 成功则返回一个数值数组,失败则返回 FALSE。 |- | PHP 版本: | 5.2+ |- | 更新日志: | PHP 5.3:新增可选的 what 和 country 参数。 |} [[:Category:PHP Date 参考手册]]
返回至“
Func date timezone identifiers list
”。
上一节:
Func_date_timezone_abbreviations_list
下一节:
Func_date_timezone_location_get