Create an RFC 1123 HTTP-Date from various date values
string|int $date Date to convert:
string
public static function getHttpDate($date) {
if (!is_numeric($date)) {
$date = strtotime($date);
}
return gmdate('D, d M Y H:i:s \\G\\M\\T', $date);
}