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)
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
File details
Details for the file backports.datetime_timestamp-1.0.zip
.
File metadata
- Download URL: backports.datetime_timestamp-1.0.zip
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98fafcd2f806ead321ea58fd250eecb41b4a3a9bffdd3c2318ebe94eba7d871e |
|
MD5 | 89b19a1075702aacbfe98f073061799a |
|
BLAKE2b-256 | 846c3a3bf4d739376fc4e4de6e66ecdf9be6d452e6cf225c140f8ab3d620565d |