»

LJ::time_to_cookie

LJ::time_to_cookie — Converts unix time to format expected in a Set-Cookie header

Use

LJ::time_to_cookie(time);

Arguments

  • time. unix time

Source:

cgi-bin/ljlib.pl

Returns:

string; Date/Time in format expected by cookie.