March 2003
Intermediate to advanced
656 pages
39h 30m
English
parsedate_tz
parsedate_tz(s)Like parsedate, but returns a tuple
t with 10 items, where
t
[-1] is
s’s time zone as an
offset in seconds from UTC (with the opposite sign from
time.timezone, as specified by RFC 2822), like in
the argument that mktime_tz accepts. Items
t
[-4:-1] are not
meaningful. When s has no time zone,
t
[-1] is
None.
Read now
Unlock full access