Fiscal Year date range
Posted on 2013-10-31
My company's fiscal year starts on May 1 and ends on the following year's April 30.
I am trying to come up with a function to not only return each of the month/years, but also figure out a way to put this in an array to get data out based on each month during the fiscal year.
I wanted to be able to determine which fiscal year we are in based on today's date.
I also want to be able to get the date ranges for last fiscal year and next fiscal year.
Finally, if this helps, we are currently in fiscal year 2014.
Not sure where to start.
Keep in mind, this can't use date classes as I am still using PHP 5.2