Unix 时间戳“120314170138Z"中的“Z"是什么意思? [英] What does the 'Z' mean in Unix timestamp '120314170138Z'?

查看:74
本文介绍了Unix 时间戳“120314170138Z"中的“Z"是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I have an X.509 certificate which has the following 2 timestamps:

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

后缀字符Z"是什么意思.是否指定时区?

What does the postfix character 'Z' mean. Does it specify the timezone?

推荐答案

是的.Z"代表祖鲁时间,也是 GMT 和 UTC.

Yes. 'Z' stands for Zulu time, which is also GMT and UTC.

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

UTC 时区有时用字母 Z 表示——引用等效航海时区 (GMT),用 Z 表示大约从 1950 年开始.这封信还提到了区域描述"零小时,自 1920 年以来一直使用(请参阅时区历史).由于北约音标和业余无线电单词 Z 是祖鲁",UTC 有时被称为祖鲁时间.

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 时间区域"并不完全相同.但是,由于它主要用作参考时间,因此只要每个人都使用相同的参考,它适用于地球的哪个区域并不重要.

Technically, because the definition of nautical time zones is based on longitudinal position, the Z time is not exactly identical to the actual GMT time 'zone'. However, since it is primarily used as a reference time, it doesn't matter what area of Earth it applies to as long as everyone uses the same reference.

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

大约在 1950 年,区域描述中添加了一个字母后缀,将 Z 分配给零区,将 A-M(J 除外)分配给东和 N-Y向西(J 可能被分配到非航海的当地时间应用程序;区域 M 和 Y 具有相同的时钟时间,但相差 24小时:一整天).这些将使用语音发音将字母 Z 发音为祖鲁语的字母表,有时会导致使用术语祖鲁时间".格林威治时区从7.5°W到7.5°E经度,而A区从7.5°E到22.5°E经度等

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.

这篇关于Unix 时间戳“120314170138Z"中的“Z"是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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