calculates dates for salary and bonuses