Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.api.datastore_types.UtcTzinfo

Abstract base class for time zone info objects.

Inherits From: expected_type

Methods

dst

View source

datetime -> DST offset as timedelta positive east of UTC.

fromutc

datetime in UTC -> datetime in local time.

tzname

View source

datetime -> string name of time zone.

utcoffset

View source

datetime -> timedelta showing offset from UTC, negative values indicating West of UTC