# [乐意黎原创] 时间格式 yyyy-MM-dd'T'HH:mm:ss.SSSZ 中的T和Z表示什么

( ***.ren)

2017.11.08 未删
2017.11.28 未删
2017.11.30 未删
2017.12.01 未删

2017.12.02 未删

2017.12.03 未删

2017.12.04 未删

2017.12.05 注册了

(***.ren)

Updated Date:2017-12-04T18:07:57Z
Creation Date:2017-12-04T18:07:44Z
Registry Expiry Date:2018-12-04T18:07:44Z

Updated Date:2017-12-05 02:07:57
Creation Date:2017-12-05 02:07:44
Registry Expiry Date:2018-12-05 02:07:44

折腾了下，突然明白了。原来是北京时间5号的凌晨2时左右抢注的啊.

Date Time String Format

ECMAScript defines a string interchange format for date-times based upon a simplification of the ISO 8601 Extended Format. The format is as follows: YYYY-MM-DDTHH:mm:ss.sssZ

Where the fields are as follows:

 YYYY is the decimal digits of the year 0000 to 9999 in the Gregorian calendar. - "-" (hyphen) appears literally twice in the string. MM is the month of the year from 01 (January) to 12 (December). DD is the day of the month from 01 to 31. T "T" appears literally in the string, to indicate the beginning of the time element. HH is the number of complete hours that have passed since midnight as two decimal digits from 00 to 24. : ":" (colon) appears literally twice in the string. mm is the number of complete minutes since the start of the hour as two decimal digits from 00 to 59. ss is the number of complete seconds since the start of the minute as two decimal digits from 00 to 59. . "." (dot) appears literally in the string. sss is the number of complete milliseconds since the start of the second as three decimal digits. Z is the time zone offset specified as "Z" (for UTC) or either "+" or "-" followed by a time expression HH:mm

Updated Date:2017-10-20T02:59:25Z  转换成北京时间就是 2017-10-20 10:59:25

Creation Date:2015-08-03T07:21:33Z 转换成北京时间就是 2015-08-03 15:21:33

乐意黎原创

©️2019 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客