Simple datetime functions
Project description
ezDT
simple python functions for the datetime & time built-in packages
today() returns todays date in '%Y-%m-%d %H:%M:%S' format
unixToDatetime(epochTime) convert unix epoch time to datetime
datetimeToUnix(ogDatetime) convert datetime to unix epoch time
addDays(ogDatetime, nDays): add days to a datetime
subtractDays(ogDatetime, nDays): subtract days from a datetime
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
ezDT-0.0.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
ezDT-0.0.2-py3-none-any.whl
(2.3 kB
view hashes)