Date and Time

The date and time functionality provided by Babel lets you format standard Python datetime, date and time objects and work with timezones.

Date and Time Formatting

Timezone Functionality

babel.dates.UTC

A timezone object for UTC.

babel.dates.LOCALTZ

A timezone object for the computer’s local timezone.

Data Access

Basic Parsing

Table Of Contents

Related Topics