UTC和Etc / UTC时区之间有区别吗? [英] Is there a difference between the UTC and Etc/UTC time zones?
本文介绍了UTC和Etc / UTC时区之间有区别吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在PHP文档中,受支持的时区列表, UTC
被列出两次:
In the PHP documentation, list of supported time zones, UTC
is listed twice:
-
UTC
-
Etc / UTC
UTC
Etc/UTC
是否存在任何概念上的两者之间的区别还是仅仅是同义词?
Is there any conceptual difference between those two, or are they just synonyms?
推荐答案
Etc / UTC
是为显示名称为 UTC
的时区指定的。也就是说,根据 IANA的时区数据库,它们是相同时区的长名称和短名称。
Etc/UTC
is the specified for the time zone whose display name is UTC
. That is, they're long and short names for the same timezone, per IANA's time zone database.
这篇关于UTC和Etc / UTC时区之间有区别吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文