March 2002
Intermediate to advanced
528 pages
21h 29m
English
mktime
int mktime(inthours, intminutes, intseconds, intmonth, intday, intyear[, intis_dst])
Returns the Unix timestamp value corresponding to the parameters,
which are supplied in the order hours,
minutes,
seconds, month,
day, year, and
(optionally) whether the value is in Daylight Savings Time. This
timestamp is the number of seconds elapsed between the Unix epoch (
January 1, 1970) and the given date and time.
The order of the parameters is different than that of the standard
Unix mktime( ) call, to make it simpler to leave
out unneeded arguments. Any arguments left out are given the current
local date and time.