Is date('D, j M Y H:i:s O')
equivalent to date('r')
(RFC 2822 date) in PHP? I'm asking because 'r'
seems to be non-working with the format parameter of date_parse_from_for开发者_JS百科mat.
You can use date(DateTime::RFC2822);
if you want dates in the RFC 2822 format.
精彩评论