Skip to main content
https://travis-ci.org/AraHaan/datetime_diff.svg?branch=master https://ci.appveyor.com/api/projects/status/vaxfcmgq0uusrkd4?svg=true https://codecov.io/gh/AraHaan/datetime_diff/branch/master/graph/badge.svg https://img.shields.io/pypi/v/datetime_diff.svg https://img.shields.io/pypi/dm/datetime_diff.svg https://img.shields.io/pypi/pyversions/datetime_diff.svg

The datetime_diff package provides a useful function for comparing two different datetime objects and returns the time elapsed since.

for example, a datetime object when turned into a string (being 2015-12-03 03:34:57.281000) when compared with a new datetime object (equivalent to the current time) one can determine how many years, months, days, hours, minutes, and seconds ago the prior datetime object was.

This returns the data as a string readable by humans denoting how much time has passed since the specified prior datetime object.

Metadata

Release files for datetime-diff 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datetime-diff 0.0.1
File Size Uploaded Provenance Actions
datetime_diff-0.0.1.tar.gz 2.8 kB Without provenance Details for datetime_diff-0.0.1.tar.gz

Release files / datetime_diff-0.0.1.tar.gz

Download URL datetime_diff-0.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bc43d7f4fe12dd7fcc13d4aa2c68b0560c3c5f5258bf3d86e9a2eb5534eaf0e4
BLAKE2b-256 checksum
How to use checksums
cf0c9c55b7a0c0f391693d6d68f6f54308d69fb0bf89a82ebbaed473474aaa5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for datetime-diff 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page