PHP Date / Time Functions

2012 年 12 月 3 日7720
Constant Description PHP

DATE_ATOM

Atom (example: 2005-08-15T16:13:03+0000)

DATE_COOKIE

HTTP Cookies (example: Sun, 14 Aug 2005 16:13:03 UTC)

DATE_ISO8601

ISO-8601 (example: 2005-08-14T16:13:03+0000)

DATE_RFC822

RFC 822 (example: Sun, 14 Aug 2005 16:13:03 UTC)

DATE_RFC850

RFC 850 (example: Sunday, 14-Aug-05 16:13:03 UTC)

DATE_RFC1036

RFC 1036 (example: Sunday, 14-Aug-05 16:13:03 UTC)

DATE_RFC1123

RFC 1123 (example: Sun, 14 Aug 2005 16:13:03 UTC)

DATE_RFC2822

RFC 2822 (Sun, 14 Aug 2005 16:13:03 +0000)

DATE_RSS

RSS (Sun, 14 Aug 2005 16:13:03 UTC)

DATE_W3C

World Wide Web Consortium (example:

2005-08-14T16:13:03+0000)

0 0