I have a call center log with dates. I would like to determine the fiscal month ( which is different from the calendar month ) by checking if the date falls between start of fiscal month date and end of fiscal month date.
For us our fiscal year starts in July, so to find out the fiscal month you just need to subtract 6 from the month (which makes July the first month). If you wind up zero or below you add 12. January (1)-6 = -5 +12 = 7. January is our 7th fiscal month.
substitute your date field's name for the word 'somedate' in both places. And adjust the 6 in both places to correct the fiscal year offset. It should be the number of the month your fiscal year starts less one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.