コード例 #1
0
ファイル: functions.php プロジェクト: phpf/http
 /**
  * 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);
 }