Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

backports.datetime_timestamp

Project description

https://img.shields.io/pypi/v/backports.datetime_timestamp.svg https://img.shields.io/pypi/pyversions/backports.datetime_timestamp.svg https://img.shields.io/pypi/dm/backports.datetime_timestamp.svg https://img.shields.io/travis/jaraco/backports.datetime_timestamp/master.svg

Backport of the datetime.timestamp() method added in Python 3.3.

from backports.datetime_timestamp import timestamp import datetime

dt = datetime.datetime.utcnow() # instead of dt.timestamp(), use timestamp(dt)

License

License is indicated in the project metadata (typically one or more of the Trove classifiers). For more details, see this explanation.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
backports.datetime_timestamp-1.1-py2.py3-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 13, 2017
backports.datetime_timestamp-1.1.tar.gz (4.2 kB) Copy SHA256 hash SHA256 Source None May 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page