Extension to the datetime module
Project description
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datetime_diff-0.0.1.tar.gz
(2.8 kB
view details)
File details
Details for the file datetime_diff-0.0.1.tar.gz
.
File metadata
- Download URL: datetime_diff-0.0.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc43d7f4fe12dd7fcc13d4aa2c68b0560c3c5f5258bf3d86e9a2eb5534eaf0e4 |
|
MD5 | 84e1c52ec57a479cf2782331bed04d79 |
|
BLAKE2b-256 | cf0c9c55b7a0c0f391693d6d68f6f54308d69fb0bf89a82ebbaed473474aaa5d |