It Calculate financial year related dates
Project description
FinancialYear
It calculate financial year related issue
update doc
Major Update in function name and stable version
-
pip install --upgrade financialyear
-
Input may be in 2022 or 2022-23 in
-
It Returns the start date and end date of a month for a given financial year and month.
-
also set financial_month_start_month
-
year = "2023-24" and month as int (e.g., 4 for April)
-
month_start_date returns a date like "01-04-2023"
-
month_end_date returns a date like "30-04-2023"
-
month_list returns all months of the financial year from "04-2023" to "03-2024"
pip install --upgrade financialyear
Input may be in 2022 or 2022-23 in
It Returns the start date and end date of a month for a given financial year and month.
also set financial_month_start_month
year = "2023-24" and month as int (e.g., 4 for April)
month_start_date returns a date like "01-04-2023"
month_end_date returns a date like "30-04-2023"
month_list returns all months of the financial year from "04-2023" to "03-2024"
Example usage:
- financial_year = Finyear("2023-24") print(financial_year.month_start_date(1)) # Output: 01-04-2023 print(financial_year.month_end_date(1)) # Output: 30-04-2023 print(financial_year.previous_month_dates(month=1)) print(financial_year.month_list()) # Output: ['04-2023', '05-2023', '06-2023', ..., '03-2024']
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
financialyear-0.3.5.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for financialyear-0.3.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ec5a0fd654f232a3b8c913e6feca1d1ed184385d08f41b90aab38cb98d42aa |
|
MD5 | 433784572e8dd1e33f4a8d0075006d5f |
|
BLAKE2b-256 | 4670f0707bbe466a602d7903b49b807e2f97e0a9fc6f688a3ff938de8b842a43 |