ArininAV

HTTP::Date

HTTP::Date -- format a date

Synopsis

require_once 'HTTP.php';

string HTTP::date (integer time)

Описание

Converts a UNIX timestamp into an RFC compliant HTTP header line. This function honors the "y2k_compliance" php.ini directive.

Параметр

Возвращаемое значение

string - a RFC compliant date header line

Заметка

Эта функция может быть вызвана статически.