previousHTTP (Previous) (Next) HTTP::headnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTTP::Date

HTTP::Date – format a date

Synopsis

require_once 'HTTP.php';

string HTTP::date ( integer time )

Description

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

Parameter

  • integer $time - a UNIX timestamp

Return value

string - a RFC compliant date header line

Note

This function can be called statically.

previousHTTP (Previous) (Next) HTTP::headnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.