get fiscal year

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

showing results for - "get fiscal year"
Nicolò
20 Mar 2018
1def getFiscalYear(dt):
2    year = dt.year
3    if dt.month<10: 
4      year -= 1
5    return year
6
queries leading to this page
current fiscal yearget fiscal year