开发者

what do you call a date/time with a T in the middle (2008-09-18T00:00:00)?

开发者 https://www.devze.com 2022-12-15 22:40 出处:网络
If you have a date like \'2008-09-18T00:00:00\' does it have a name? UTC? Something like that? Surprisingly hard to google for this...开发者_运维技巧 That is a combined date/time representation as def

If you have a date like '2008-09-18T00:00:00' does it have a name? UTC? Something like that? Surprisingly hard to google for this...开发者_运维技巧


That is a combined date/time representation as defined by ISO8601. It often has a timezone/offset appended to it, e.g. 2008-09-18T00:00:00Z would denote UTC time.


That looks like RFC 3339.


ISO 8601 is also relevant: Link


Also might be ISO-8601.


Technically, that is ISO 8601, but Google refer to this simply as the "ISO date format" on this support page, as do a lot of other people (including me) seeing as it's a very popular standard. It's the top result if you google "iso date format".

0

精彩评论

暂无评论...
验证码 换一张
取 消