Ns httptime

From AOLserver Wiki
Revision as of 14:49, 18 May 2005 by WikiSysop (talk | contribs) (imported from WiKit id 581)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

ns_cookietime, ns_fmttime, ns_gmtime, ns_localtime, ns_parsehttptime, ns_parsetime, ns_time

Category Documentation - Category Core Tcl API