March 2003
Intermediate to advanced
656 pages
39h 30m
English
mktime
mktime(tupletime)Accepts an instant expressed as a nine-item tuple in local time and
returns a floating-point value with the instant expressed in seconds
since the epoch. DST, the last item in
tupletime, is meaningful: set it to
0 to get solar time, to 1 to
get Daylight Saving Time, or to -1 to let
mktime compute whether DST is in effect or not at
the given instant.
Read now
Unlock full access