A
allenjc11
Hello,
I have the following formula in Access 2007 to determine how many years
someone has been with the company.
-----
Years of Service: DateDiff("yyyy",[Hire Date],[TodaysDate])
-----
This formula is partially accurate, but not completely because, for example,
if someone was hired on 8/24/09 and today's date is 5/27/10, it says that
person has worked here for a year (the value result = 1). But because it
technically hasn't been a full year, the number isn't accurate. I would like
for it to return a value = 0 (zero) if it hasn't been a full year between the
two dates.
Is there something I can add to this formula to get an accurate year
difference?
Regards,
allenjc11
I have the following formula in Access 2007 to determine how many years
someone has been with the company.
-----
Years of Service: DateDiff("yyyy",[Hire Date],[TodaysDate])
-----
This formula is partially accurate, but not completely because, for example,
if someone was hired on 8/24/09 and today's date is 5/27/10, it says that
person has worked here for a year (the value result = 1). But because it
technically hasn't been a full year, the number isn't accurate. I would like
for it to return a value = 0 (zero) if it hasn't been a full year between the
two dates.
Is there something I can add to this formula to get an accurate year
difference?
Regards,
allenjc11