Hello:
I would like to automatically calculate the time an employees' benefits will begin, which is 90 days after the hire date. I have this expression:
It does not produce the correct results.
For example: I have a hire date 1/4/2005...it says the benefits start 5/1/05, as opposed to 4/4/05.
What's wrong with my expression?
I would like to automatically calculate the time an employees' benefits will begin, which is 90 days after the hire date. I have this expression:
Code:
=IIf(IsNull([HireDt]),Null,IIf(Day([HireDt]+90)=1,[HireDt]+90,DateSerial(Year([HireDt]+90),Month([HireDt]+90)+1,1)))
For example: I have a hire date 1/4/2005...it says the benefits start 5/1/05, as opposed to 4/4/05.
What's wrong with my expression?
Comment