Ns httptime
Jump to navigation
Jump to search
Man page: http://aolserver.com/docs/tcl/ns_httptime.html
NAME
- ns_httptime - Convert seconds to HTTP date format
SYNOPSIS
- ns_httptime time
DESCRIPTION
- This command converts the time, specified as the number of seconds from 00:00:00 UTC Jan 1, 1970, to a string in HTTP date format (see RFC 2616 Sec 3.3).
EXAMPLES
% ns_httptime 0 Thu, 01 Jan 1970 00:00:00 GMT
% ns_httptime 8675309 Sat, 11 Apr 1970 09:48:29 GMT
SEE ALSO