R
Robbin
Hi,
I have an expression that works perfectly, (I got it here, I think), except
for one minor problem. I need the date to increase by one year, this year,
as of July 1 of this year. My professors don't get another year's experience
until they finish the second semester, on the fiscal year, July 1.
YearsExperience:
DateDiff("yyyy",[DateofHire],nz([DateofTTHire],Date())+[CreditServiceYears])
This calculates the numberf of years experience based on the current date,
however, I need the Date() to be as of 7/1 of the current year. I tried
serializing the date() part to DateSerial(Year(Date()),7,1), but it didn't
work. I must have something mixed up. I don't get an error, I just get the
wrong answer.
YearsExperience:
DateDiff("yyyy",[DateofHire],nz([DateofTTHire],(DateSerial(Year(Date()),7,1)+[CreditServiceYears])
Can anyone help? Thank you!
I have an expression that works perfectly, (I got it here, I think), except
for one minor problem. I need the date to increase by one year, this year,
as of July 1 of this year. My professors don't get another year's experience
until they finish the second semester, on the fiscal year, July 1.
YearsExperience:
DateDiff("yyyy",[DateofHire],nz([DateofTTHire],Date())+[CreditServiceYears])
This calculates the numberf of years experience based on the current date,
however, I need the Date() to be as of 7/1 of the current year. I tried
serializing the date() part to DateSerial(Year(Date()),7,1), but it didn't
work. I must have something mixed up. I don't get an error, I just get the
wrong answer.
YearsExperience:
DateDiff("yyyy",[DateofHire],nz([DateofTTHire],(DateSerial(Year(Date()),7,1)+[CreditServiceYears])
Can anyone help? Thank you!