Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezDT-0.0.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file ezDT-0.0.2.tar.gz.

File metadata

  • Download URL: ezDT-0.0.2.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for ezDT-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3eea66fa8f5b437b76836644fdabaa30a70e3904e27c2f8cb6cadc462b29e49a
MD5 df7fde66149497519c032383e1d06a08
BLAKE2b-256 e1decae3af6af414121fa5337a01c94d4d206b2d11c8e8b852e0fdfd185f2284

See more details on using hashes here.

File details

Details for the file ezDT-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ezDT-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for ezDT-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a688d676ee1020619f7a8c45df7f7a659594c1e7f0382e701d97612f584b8f1b
MD5 2d621a445ad3dbb034fd209bcab7101d
BLAKE2b-256 293b9ef4702134f2b292090258758a5d6e6cd7872f7d256ab7885e48e6a82fdf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page