Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

jaraco/backports.datetime_timestamp

Repository files navigation

tests Ruff Code style: Black https://img.shields.io/badge/skeleton-2023-informational

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages