UTC 时间戳解释
我正在搜索解析此时间戳
2011-05-18T0702:19Z0088
字符串的第一部分(“2011-05-18T0702:19Z”)看起来像 ISO 8601 UTC 时间戳,但我不明白最后的数字“0088”
有人可以告诉我有关此格式的更多信息吗?
威廉
I am searching to parse this timestamp
2011-05-18T0702:19Z0088
The first part of the string ("2011-05-18T0702:19Z") look like a ISO 8601 UTC Timestamp, but i don't understand last numbers "0088"
Did someone can tell me more about this format ?
William
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上这是没有意义的,因为
Z
表示 UTC 时间,之后的日期时间中不允许使用任何符号。所以它实际上是一些无效的格式。如果您确定“Z”对应于 UTC,您可以忽略其后面的符号,或者更好的是,联系此格式的源并要求他们进行修复。
现在,我还注意到格式上又存在一个错误,小时和分钟之间没有冒号:
2011-05-18T 0702 :19Z0088
Actually it doesn't make sense, since
Z
is indication of UTC time, after which no symbols are allowed in datetime. So it's actually some invalid format.If you sure that 'Z' corresponds to UTC you can ignore symbols after it, or, better, contact source of this format and ask them for fix.
Now, I also notices there is one more error in format, there is no colon between hours and minutes:
2011-05-18T 0702 :19Z0088