python fiscal year prior

Solutions on MaxInterview for python fiscal year prior by the best coders in the world

showing results for - "python fiscal year prior"
Montserrat
04 Aug 2020
1import fiscalyear
2
3fiscalyear.START_MONTH = 7
4
5targetFiscalYear = fiscalyear.FiscalYear.current()  
6# returns: FY2022 Type: FiscalYear
7intTargetFiscalYear = fiscalyear.FiscalYear.current().fiscal_year 
8# returns: 2022 Type: int
9prevFiscalYear = fiscalyear.FiscalYear.current().prev_fiscal_year  
10# returns: FY2021 Type: FiscalYear
11intPrevFiscalYear = fiscalyear.FiscalYear.current().prev_fiscal_year.fiscal_year 
12# returns: 2021 Type: int