»

LJ::time_to_http

LJ::time_to_http — Converts a Unix time to an HTTP date.

Use

LJ::time_to_http(time);

Arguments

  • time. Integer; Unix time.

Info

Wrapper around HTTP::Date::time2str to make an HTTP date (RFC 1123 format) See also LJ::http_to_time.

Source:

cgi-bin/ljlib.pl

Returns:

String; RFC 1123 date.