作者:你是我最终的荒唐 | 来源:互联网 | 2023-09-23 14:56
阅读本文可以了解:RFC3339时间格式细节、时区的设置。时间格式介绍InternetDateTimeFormatThefollowingprofileofISO8601[ISO
阅读本文可以了解:RFC 3339时间格式细节、时区的设置。
时间格式介绍
Internet Date/Time FormatThe following profile of ISO 8601 [ISO8601] dates SHOULD be used innew protocols on the Internet. This is specified using the syntaxdescription notation defined in [ABNF].date-fullyear = 4DIGITdate-mOnth= 2DIGIT ; 01-12date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on; month/yeartime-hour = 2DIGIT ; 00-23time-minute = 2DIGIT ; 00-59time-secOnd= 2DIGIT ; 00-58, 00-59, 00-60 based on leap second; rulestime-secfrac = "." 1*DIGITtime-numoffset = ("+" / "-") time-hour ":" time-minutetime-offset = "Z&