'T' 和 'Z' 在日期中的含义

What 'T' and 'Z' means in date

我需要有关此日期“2015-05-12T00:00:00Z”的一些信息。 'T' 和 'Z' 是什么意思?任何人都可以帮助我吗?我不知道他们是什么意思。我需要将此数据转换为另一种格式

ISO 8601

ISO 8601 标准定义了将日期时间值表示为文本的格式。

  • T 只是时间部分开始位置的标记。
  • Z+00:00的缩写,意思是UTC (an offset零时分秒)。根据军事和航空传统发音为“祖鲁”。

来自 ISO 8601

上的维基百科文章

A single point in time can be represented by concatenating a complete date expression, the letter T as a delimiter, and a valid time expression. For example "2007-04-05T14:30".

[...]

If the time is in UTC, add a Z directly after the time without a space. Z is the zone designator for the zero UTC offset. "09:30 UTC" is therefore represented as "09:30Z" or "0930Z". "14:45:15 UTC" would be "14:45:15Z" or "144515Z".