Internet标准时间RFC3339格式说明
2016-05-26 21:51
6241 查看
转载地址:点击打开链接
Internet标准时间格式说明
Wednesday, 30. August 2006, 08:35:40
RFC3339, RFC2822, ISO8601
语法定义:
date-fullyear =
4DIGIT
date-month =
2DIGIT ; 01-12
date-mday =
2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
;
month/year
time-hour =
2DIGIT ; 00-23
time-minute =
2DIGIT ; 00-59
time-second =
2DIGIT ; 00-58, 00-59, 00-60 based on leap second
;
rules
time-secfrac =
"." 1*DIGIT
time-numoffset =
("+" / "-") time-hour ":" time-minute
time-offset =
"Z" / time-numoffset
partial-time =
time-hour ":" time-minute ":" time-second
[time-secfrac]
full-date =
date-fullyear "-" date-month "-" date-mday
full-time =
partial-time time-offset
date-time =
full-date "T" full-time
限制:
一年中月份的最大天数
Month Number Month/Year Maximum
value of date-mday
------------ ---------- --------------------------
01 January 31
02 February,
normal 28
02 February,
leap year 29
03 March 31
04 April 30
05 May 31
06 June 30
07 July 31
08 August 31
09 September
Internet标准时间格式说明
Wednesday, 30. August 2006, 08:35:40
RFC3339, RFC2822, ISO8601
语法定义:
date-fullyear =
4DIGIT
date-month =
2DIGIT ; 01-12
date-mday =
2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
;
month/year
time-hour =
2DIGIT ; 00-23
time-minute =
2DIGIT ; 00-59
time-second =
2DIGIT ; 00-58, 00-59, 00-60 based on leap second
;
rules
time-secfrac =
"." 1*DIGIT
time-numoffset =
("+" / "-") time-hour ":" time-minute
time-offset =
"Z" / time-numoffset
partial-time =
time-hour ":" time-minute ":" time-second
[time-secfrac]
full-date =
date-fullyear "-" date-month "-" date-mday
full-time =
partial-time time-offset
date-time =
full-date "T" full-time
限制:
一年中月份的最大天数
Month Number Month/Year Maximum
value of date-mday
------------ ---------- --------------------------
01 January 31
02 February,
normal 28
02 February,
leap year 29
03 March 31
04 April 30
05 May 31
06 June 30
07 July 31
08 August 31
09 September
相关文章推荐
- UE4之SlateUI系统初探
- 剑指Offer之在O(1)时间删除链表节点(题13)
- 【Leetcode】Different Ways to Add Parentheses
- 原理设计思想
- 剑指Offer——翻转单词顺序VS左旋转字符串
- C++快速入门-命名空间
- 链表相关题目的实现
- 工厂方法模式及php实现
- Java中HashMap遍历的两种方式比较
- 【Leetcode】Patching Array
- 联想功能字符串的提取(c)
- cocoaPods安装步骤
- 获取本机IP地址
- Markdown使用说明
- java Map及Map.Entry详解
- 【Leetcode】Minimum Path Sum
- java对象数组的初始化
- MVC简介
- 【Leetcode】Trapping Rain Water
- 又一个P2P网贷平台倒下 e速贷非法吸金遭警方查获