Skip to main content

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

backports.datetime_timestamp-1.0.zip (4.7 kB view details)

Uploaded Source

File details

Details for the file backports.datetime_timestamp-1.0.zip.

File metadata

File hashes

Hashes for backports.datetime_timestamp-1.0.zip
Algorithm Hash digest
SHA256 98fafcd2f806ead321ea58fd250eecb41b4a3a9bffdd3c2318ebe94eba7d871e
MD5 89b19a1075702aacbfe98f073061799a
BLAKE2b-256 846c3a3bf4d739376fc4e4de6e66ecdf9be6d452e6cf225c140f8ab3d620565d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page