debian man page for ns_parsehttptime

Query: ns_parsehttptime

OS: debian

Section: 3aolserv

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ns_httptime(3aolserver) 				    AOLserver Built-In Commands 				   ns_httptime(3aolserver)

__________________________________________________________________________________________________________________________________________________

NAME
ns_httptime, ns_parsehttptime - commands
SYNOPSIS
ns_httptime time ns_parsehttptime httptime _________________________________________________________________
DESCRIPTION
ns_httptime This function converts the time (specified as the number of seconds from 00:00:00 UTC, January 1, 1970) to the appropriate format for an HTTP header or log file. The time and date is returned with a four digit year, for example: "Sun, 06 Nov 1994 08:49:37 GMT". ns_parsehttptime ns_parsehttptime takes a properly formatted HTTP time and returns the number of seconds since 00:00:00 UTC Jan 1, 1970.
EXAMPLES
ns_httptime set time [ns_httptime [ns_time]] Returns: Thu, 14 Nov 2002 17:29:06 GMT ns_parsehttptime set time "Thu, 14 Nov 2002 17:29:06 GMT" ns_parsehttptime $time Returns: 1037294946
SEE ALSO
ns_time(n)
KEYWORDS
time AOLserver 4.0 ns_httptime(3aolserver)
Related Man Pages
curl_getdate(3) - linux
curl_getdate(3) - x11r4
curl_getdate(3) - minix
curl_getdate(3) - ultrix
curl_getdate(3) - posix
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph