Difference between revisions of "Ns parsehttptime"
Jump to navigation
Jump to search
(imported from WiKit id 411) |
|||
Line 29: | Line 29: | ||
---- | ---- | ||
− | [[Category Documentation]] - [[Category Core Tcl API]] | + | [[Category:Documentation]] - [[Category:Core Tcl API]] |
Latest revision as of 19:45, 7 February 2009
Man page: http://aolserver.com/docs/tcl/ns_parsehttptime.html
NAME
- ns_parsehttptime - Convert a HTTP date format string into seconds
SYNOPSIS
- ns_parsehttptime httptime
DESCRIPTION
- This command parses a string containing an HTTP date format string (see RFC 2616 Sec 3.3) and returns the number of seconds since 00:00:00 UTC Jan 1, 1970.
EXAMPLES
% ns_parsehttptime "Thu, 01 Jan 1970 00:00:00 GMT" 0
% ns_parsehttptime "Thu, 14 Nov 2002 17:29:06 GMT" 1037294946
SEE ALSO
-