REF: inline get_day_of_month
Makes the logic in all cases of shift_months identical, same for shift_quarters.  Next pass does de-duplication.
sure green excellent.  ideally #34760 would go in before i do the de-duplication branch