backports.datetime_timestamp
Project description
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.
Source Distribution
Built Distribution
Close
Hashes for backports.datetime_timestamp-1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bb5f2ea1d93174ecdabbb5ee91ad8e5b8362b704b5ab005c19307d2b2ee152b |
|
MD5 | f2c4ef15e72da7f737675061f40c514b |
|
BLAKE2b-256 | e7606d0178c00bcaa07d6becf433a8395ebb7c96e4a044363e78d622355b7439 |
Close
Hashes for backports.datetime_timestamp-1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b39ead26593924bd281962e6ff6553c3276bdb7834f4af237d1eb4bacfd05f |
|
MD5 | 5bdd1cdd8becc8e0bd0951839e9cce98 |
|
BLAKE2b-256 | 802f2d51ea3f01162f8a9c4fa61fe6efd93c51e03dab1ecad27891f4ffd8737f |