Skip to main content

Extension to the datetime module

Project description

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.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for datetime-diff, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size datetime_diff-0.0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page