PHP timezone_location_get() 函数
PHP 教程
· 2019-01-24 10:27:19
实例
返回指定时区的位置信息:
<?php
$tz=timezone_open("Asia/Taipei");
echo timezone_location_get($tz);
?>
$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
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》 这本书的介绍吧!