JDate::toRFC822
Gets the date as an RFC 822 string. IETF RFC 2822 supercedes RFC 822 and its definition can be found at the IETF Web site.
Signature
public function toRFC822([boolean
$local = false] )
Parameters
-
$local
- True to return the date string in the local time zone, false to return it in GMT.
Returns
- string
- The date string in RFC 822 format.