Backport of the timestamp method from Python 3.3
Project description
Backport of the datetime.timestamp() method added in Python 3.3.
Used as:
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
Built Distribution
File details
Details for the file backports.datetime_timestamp-1.3.0.tar.gz
.
File metadata
- Download URL: backports.datetime_timestamp-1.3.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b14ddf15b9a47e9cae70b51e39b43da01d97f110e974583371d37a40967d6e |
|
MD5 | 8f34508a52c4cacc6dafa3a577dd7b3d |
|
BLAKE2b-256 | e38661be076fab1f3f15607e35232014dcd637a598cb51216dd145b8507938a8 |
File details
Details for the file backports.datetime_timestamp-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: backports.datetime_timestamp-1.3.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1270a216ee96672d357b2353dde1e596735a1cb0cd759d2217fb3550a18bc92 |
|
MD5 | 4faec0226bf467fd072f9c6997248666 |
|
BLAKE2b-256 | 5427bfa5940dbf5fe939b8e1836ce04ac9cf81b800f2e9784b6d8bf0aa41a6fa |