tz_util – Utilities for dealing with timezones in Python — PyMongo 2.5 documentation

### Navigation

- index
- modules |
- next |
- previous |
- PyMongo 2.5 documentation »
- API Documentation »
- `bson` – BSON (Binary JSON) Encoding and Decoding »

# `tz_util` – Utilities for dealing with timezones in Python

Timezone related utilities for BSON.

class `bson.tz_util.``FixedOffset`(offset, name)

  Fixed offset timezone, in minutes east from UTC.

  Implementation based from the Python standard library documentation. Defining __getinitargs__ enables pickling / copying.

`bson.tz_util.``utc` = <bson.tz_util.FixedOffset object at 0x1dd24bf0>

  Fixed offset timezone representing UTC.

### Navigation

- index
- modules |
- next |
- previous |
- PyMongo 2.5 documentation »
- API Documentation »
- `bson` – BSON (Binary JSON) Encoding and Decoding »