?
This document uses PHP Chinese website manual Release
Date
通用 HTTP 報(bào)頭包含在該消息起源的日期和時(shí)間。
Header type | General header |
---|---|
Forbidden header name | yes |
Date: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
<day-name> “星期一”,“星期二”,“星期三”,“星期四”,“星期五”,“星期六”或“太陽”之一(區(qū)分大小寫)。 “04”或“23”
<month> “Jan”,“Feb”,“Mar”,“Apr”,“May”,“Jun”,“Jul”,“Aug”,“Sep”,“十進(jìn)制“,”十一月“,”十二月“(區(qū)分大小寫)。
<year> 4位數(shù)年份編號,例如“1990”或“2016”。
<hour> 2位數(shù)小時(shí)編號,例如“09”或“23”。
<minute> 2位數(shù)分鐘數(shù),例如“04”或“59”。
<second> 2位數(shù)秒數(shù),例如“04”或“59” .GMT
格林威治標(biāo)準(zhǔn)時(shí)間。HTTP 日期總是以 GMT 表示,從不以本地時(shí)間表示。
Date: Wed, 21 Oct 2015 07:28:00 GMT
Specification | Title |
---|---|
RFC 7231, section 7.1.1.2: Date | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) | (Yes) |