DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
get Fiscal year
def getFiscalYear(dt): year = dt.year if dt.month<10: year -= 1 return year
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Fiscal
#year
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit