debian man page for ns_fmttime

Query: ns_fmttime

OS: debian

Section: 3aolserv

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

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

__________________________________________________________________________________________________________________________________________________

NAME
ns_time, ns_fmttime, ns_gmtime, ns_localtime, - commands
SYNOPSIS
ns_fmttime time ?format string? ns_gmtime ns_localtime ns_time _________________________________________________________________
DESCRIPTION
ns_time: Returns the value of time in seconds since 00:00:00 UTC, January 1, 1970. This return value is suitable as input to the ns_http- time function to get the current time. ns_fmttime: Formats the time string,time,according to the format provided in format string. If no format is provided, defaults to "%a %b %e %H:%M:%S %Z %Y". ns_gmttime: Returns a Tcl list of the pieces of the current Greenwich Mean Time. The pieces are seconds (0-59) minutes (0-59) hours (0-23) dayofmonth (1-31) monthofyear (0-11) year (year-1900)* dayofweek (Sunday=0) dayofyear (0-365) 1 if Daylight Savings Time is in effect ns_localtime: Returns a Tcl list of the pieces of the current local time. The pieces are seconds (0-59) minutes (0-59) hours (0-23) dayofmonth (1-31) monthofyear (0-11) year (year-1900)* dayofweek (Sunday=0) dayofyear (0-365) 1 if Daylight Savings Time is in effect
EXAMPLES
ns_fmttime [ns_time] returns: Tue Nov 12 15:14:47 2002 ns_fmttime [ns_time] "%Y%m%d" returns: 20021112
SEE ALSO
ns_httptime
KEYWORDS
AOLserver 4.0 ns_time(3aolserver)
Related Man Pages
ns_fmttime(3aolserv) - debian
sttime(3) - debian
sttime(3) - centos
sttime(3) - bsd
sttime(3) - linux
Similar Topics in the Unix Linux Community
Y2k7 Problem
Auto resetting for Daylight Savings Time
Time setting on Solaris 10
Problem setting up SSMTP with Office 365
Office 365 Migration