Custom Package for recurring date utility
Project description
recurringdateutil
A sample python package deployment utility for calculating monthly or annual recurring date based on the date format. Any date format passed as input and expect any date format in output.
Usage
import recurringdateutil
from datetime import datetime, timedelta
input_date_format = '%Y-%m-%d'
output_date_format = '%Y-%m-%d'
Calculate next monthly recurring date
next_monthly_recurring_date = get_next_monthly_recurring_date(input_date_format, output_date_format)
Calculate next annual recurring date
enrollmentdate = datetime.today().strftime(input_date_format)
next_annual_recurring_date = get_next_annual_recurring_date(enrollmentdate, input_date_format, output_date_format)
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
Built Distribution
Hashes for recurringdateutil-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bfd566c63e3adc5fe8b84df3c2acc62563a667c8b224e07897d02305484635e |
|
MD5 | 7827fa131a9b93d2c3183b35d3ef33cf |
|
BLAKE2b-256 | 954fccaea13866d07703a112a089f9723f1e05ef119f2fc50a75ec0905af3369 |