Accenture Interview Question

Program on calendar time sequence