Skip to main content

Date Handling

Project description

Dates

Package to help with date creation, comparison and calculation

Getting Started

Import package and use the following methods:
isWeekendDay(day)
isMonday(day)
isFriday(day)
isLastDayOfMonth(day)
lastDayOfMonth(day)
createDatetimeObj(day, month, year, hour=0, min=0, sec=0)
addDaysToDate(date, numberOfDays)

Prerequisites

Working python3 installation

Installing

pip install datefactory

Running the tests

python3 test.py

Deployment

[See installation above]

Built With

Python3

Versioning

Author(s)

  • Niall Stapleton - Initial work - (@nstap)

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

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

datefactory-1.0.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

datefactory-1.0.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

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