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.
The HTTP package is deprecated. Use HTTP2::date instead.
integer $time
- a UNIX timestamp
string
- a RFC compliant date header line
This function can be called statically.