skip to navigation
skip to content

backports.datetime_timestamp 1.0.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)

1.0.1

Fixed TypeError on import.

1.0

Initial release.

 
File Type Py Version Uploaded on Size
backports.datetime_timestamp-1.0.1.zip (md5) Source 2013-12-13 4KB