Esempio n. 1
0
 /**
  * Returns a valid HTTP date using given timestamp or current time if none given.
  *
  * @param int $timestamp Unix timestamp
  * @return string Date formatted regarding RFC 1123.
  */
 function http_date($timestamp = null)
 {
     return Util::date($timestamp);
 }