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_format.
Is date(‘D, j M Y H:i:s O’) equivalent to date(‘r’) ( RFC 2822 date)
Share
You can use
date(DateTime::RFC2822);if you want dates in the RFC 2822 format.