semvec/pypi-packages huggingface dataset:
common-dates 0.0.2
A simple library for generating dates in common scenarios for data analysis.
Requires Python: >=3.0

### Common Dates

A simple library for generating dates in common scenarios for data analysis.
<br>

### Usage

from common_dates import common_dates
<br>

### Functions
<br>create_date_from_str: Create a Datetime object from a string with specific date_format.
<br>get_today: Create a Date Object or String of Today.
<br>get_yesterday: Create a Date Object or String of Yesterday.
<br>get_current_month: Return current month.
<br>get_last_month: Return last month date.
<br>get_previous_nmonth: Return last n-month.
<br>get_same_day_last_week: Return the same day of the week of last week.
<br>get_same_day_last_month: Return the same day of last month.