aklump/local-timezone
最新稳定版本:0.0.2
Composer 安装命令:
composer require aklump/local-timezone
包简介
Get the local timezone from the system.
README 文档
README
Provides a standard interface for getting the local, system timezone as a \DateTimeZone instance. This is not the same as relying on the PHP timezone setting, which may or may not be set. The determined value comes from the host system.
date_create('tomorrow', \AKlump\LocalTimezone\LocalTimezone::get());
Run the Example
To check compatibility you can run the example file from command line:
php -f example.php
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-04-30