Hi All,
I hope my question is not to elementary for this forum, but I need some guidance and you all seem to be really helpful and knowledgable.
I need to calculate a participation date, which is the 1st of the month following six months plus the hire date (i.e. Hiredate 06/05/02, six months completed 12/05/02, participation date 01/01/03). The tricky part is if that date falls on the 1st, then that hire plus 6 is the participation date.
I thought I would break the hire date down to Month, Day & Year and then use an if statement to add the months (i.e. IF date is 1st, then add 6 to month, else add 7) Of course I see another potential problem with the year may need to change then, so I guess another IF statement?? :-?
I am not sure if there is an easier or better way - but any help would be sincerely appreciated. Thanks All!
Peace, Loretta
I hope my question is not to elementary for this forum, but I need some guidance and you all seem to be really helpful and knowledgable.
I need to calculate a participation date, which is the 1st of the month following six months plus the hire date (i.e. Hiredate 06/05/02, six months completed 12/05/02, participation date 01/01/03). The tricky part is if that date falls on the 1st, then that hire plus 6 is the participation date.
I thought I would break the hire date down to Month, Day & Year and then use an if statement to add the months (i.e. IF date is 1st, then add 6 to month, else add 7) Of course I see another potential problem with the year may need to change then, so I guess another IF statement?? :-?
I am not sure if there is an easier or better way - but any help would be sincerely appreciated. Thanks All!
Peace, Loretta