使用冗长的时区有什么意义? [英] What's the point of using wordy Time Zones?

查看:32
本文介绍了使用冗长的时区有什么意义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这不是 PHP 特有的,但是使用这样列出的时区有什么意义:http://us2.php.net/manual/en/timezones.america.php?例如美国/印第安纳波利斯"和美国/New_York".EST、EDT、CST、CDT 和 &c 有什么问题?

I know this isn't specific to PHP, but what's the point of using timezones listed like this :http://us2.php.net/manual/en/timezones.america.php? For example "America/Indianapolis" and "America/New_York". What is the problem with EST, EDT, CST, CDT, &c?

推荐答案

这只是一个不同的时区格式Zoneinfo 数据库 提供:

This is just a different timezone format provided by the Zoneinfo database:

数据库中的时区是给定统一的名称,例如America/New_York",试图让他们更容易理解人类并消除歧义.

The time zones in the database are given uniform names, such as "America/New_York", in an attempt to make them easier to understand by humans and to remove ambiguity.

这篇关于使用冗长的时区有什么意义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆