PHP timezone_location_get() 函数

PHP 教程 · 2019-01-24 10:27:19

实例

返回指定时区的位置信息:

<?php
$tz=timezone_open("Asia/Taipei");
echo timezone_location_get($tz);
?>

定义和用法

timezone_location_get() 返回指定时区的位置信息。

语法

timezone_location_get(object);

参数 描述
object 必需。规定一个由 timezone_open() 返回的 DateTimeZone 对象。

技术细节

返回值: 返回一个包含时区的位置信息的数组。
PHP 版本: 5.3+

点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Chinese Authoritarianism in the Information Age

Chinese Authoritarianism in the Information Age

Routledge / 2018-2-13 / GBP 115.00

This book examines information and public opinion control by the authoritarian state in response to popular access to information and upgraded political communication channels among the citizens in co......一起来看看 《Chinese Authoritarianism in the Information Age》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具