how to find month of quarter not a quarter of month [closed]

This should do the trick:

monthOfQuarter = ((month - 1) % 3) + 1;

Browse More Popular Posts

Leave a Comment