gpt4 book ai didi

timezone - Unix 时间戳 'Z' 中的 '120314170138Z' 是什么意思?

转载 作者:行者123 更新时间:2023-12-02 15:15:19 27 4
gpt4 key购买 nike

我有一个 X.509 证书,它具有以下 2 个时间戳:

['validFrom'] = String(13) "120314165227Z"
['validTo'] = String(13) "130314165227Z"

后缀字符“Z”是什么意思。它指定时区吗?

最佳答案

是的。 “Z”代表祖鲁时间,也是 GMT 和 UTC。

来自http://en.wikipedia.org/wiki/Coordinated_Universal_Time :

The UTC time zone is sometimes denoted by the letter Z—a reference to the equivalent nautical time zone (GMT), which has been denoted by a Z since about 1950. The letter also refers to the "zone description" of zero hours, which has been used since 1920 (see time zone history). Since the NATO phonetic alphabet and amateur radio word for Z is "Zulu", UTC is sometimes known as Zulu time.

从技术上讲,由于航海时区的定义是基于经度位置,因此 Z 时间与实际的 GMT 时区并不完全相同。但是,由于它主要用作引用时间,因此只要每个人都使用相同的引用,它适用于地球的哪个区域并不重要。

再次来自维基百科,http://en.wikipedia.org/wiki/Nautical_time :

Around 1950, a letter suffix was added to the zone description, assigning Z to the zero zone, and A–M (except J) to the east and N–Y to the west (J may be assigned to local time in non-nautical applications; zones M and Y have the same clock time but differ by 24 hours: a full day). These were to be vocalized using a phonetic alphabet which pronounces the letter Z as Zulu, leading sometimes to the use of the term "Zulu Time". The Greenwich time zone runs from 7.5°W to 7.5°E longitude, while zone A runs from 7.5°E to 22.5°E longitude, etc.

关于timezone - Unix 时间戳 'Z' 中的 '120314170138Z' 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9706688/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com