Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A drop in replacement for Python's datetime module which cares deeply about timezones.

Project Description

A version of the python-datetime module which deeply cares about timezone (instead of ignoring the problem). The module automatically detects your current timezone using a variety of different methods.

The module also includes extra functionality;

  • Full integration with pytz (just give it the string of the timezone!)
  • Proper support for going to/from Unix timestamps (which are in UTC!).
  • Smart Parsing which attempts to accept all formats.

This module depends on:

  • pytz - For providing the Timezone database.
  • dateutil - For providing parsing of many common formats.
For development:
  • PyLint - Needed for checking for link.
  • Genshi - Needed for building windows mapping file.

[![Build Status](]( [![Coverage Status](]( [![PyPi Version](]( [![PyPi Downloads](](

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(23.4 kB) Copy SHA256 Hash SHA256
2.7 Wheel Jan 27, 2016
(23.4 kB) Copy SHA256 Hash SHA256
3.4 Wheel Jan 27, 2016
(42.6 kB) Copy SHA256 Hash SHA256
Source Jan 27, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting