Fiscal Year & Quarters
NepaliDate.current_fiscal_year()
Method to retrieve the formatted fiscal year string for a given NepaliDate instance.
The current_fiscal_year method determines which official Nepalese fiscal year contains the current date instance. It returns a standardized fiscal year string such as 2081/82 based on whether the date falls before or after the 1 Shrawan fiscal transition boundary.
Import
from nepali_date_library import NepaliDateSignature
@staticmethod
def current_fiscal_year() -> int:Parameters
- None.
Return Value
- Type:
int - Description: The starting four digit Bikram Sambat calendar year of the current fiscal year.
- Example: Returns
2081for fiscal year 2081/82 BS.
Examples
Checking Active Fiscal Year
from nepali_date_library import NepaliDate
fy_start = NepaliDate.current_fiscal_year()
fy_label = f"{fy_start}/{str(fy_start + 1)[-2:]}"
print(f"Fiscal Year: {fy_label} BS") # e.g. "2081/82 BS"Related
date.fiscal_quarter(): Get the active fiscal trimester number.date.fiscal_quarter_dates(): Get boundary dates of the active fiscal quarter.
Advertisement
Fiscal Year & Quarters Guide
Architecture and calculation rules for Nepal official fiscal year and quarterly trimester accounting cycles.
date.fiscal_quarter()
Method to calculate the active fiscal trimester quarter number for a NepaliDate instance.