Name
mktime_tz
Synopsis
mktime_tz(t
)
t
is a tuple with 10 items, the first 9 in
the same format used in module time
covered in
Chapter 12,
t
[-1]
is a time zone as
an offset in seconds from UTC (with the opposite sign from
time.timezone
, as specified by RFC 2822). When
t
[-1]
is
None
, mktime_tz
uses the local
time zone. mktime_tz
returns a float with the
number of seconds since the epoch, in UTC, corresponding to the time
instant that t
denotes.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.