Name
gmtoffset
Synopsis
d
.gmtoffset( )
Returns a DateTimeDelta
instance representing the
time zone of d
, assuming
d
is represented in local time.
gmtoffset
returns negative values in the Americas,
positive ones in most of Europe, Asia, and Africa.
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.