PHP Display Date Same as Server HTTP Headers Date

Posted on January 29, 2019 at 1:24 pm

Display date same as server’s HTTP Headers date:

$date = gmdate('D, d M Y H:i:s T', time());

Example output:

Tue, 29 Jan 2019 13:23:38 GMT

Receive updates via email

Other Posts

Updated Posts