skip to navigation
skip to content

backports.datetime_timestamp 1.1

backports.datetime_timestamp

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.

 
File Type Py Version Uploaded on Size
backports.datetime_timestamp-1.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-05-13 3KB
backports.datetime_timestamp-1.1.tar.gz (md5) Source 2017-05-13 4KB