I have a bit of a problem. I use some code to send command lines to apple to get our sales reports for the previous month. To do this, I have to send the year, country codes, and the fiscal period.
Apple’s calendar runs from October (period 1) to September (period 12). The bug doesn’t show up til I have to get December’s reports because we don’t get them until around the middle of January (usually around the 12th or 13th).
I’m trying to figure out a way to revert the year without having to evaluate the current year so I don’t have to change it every year (mostly because i’ll have forgotten out it), and because I need it for some other code bits that I have to change on our sales page.