Forum Discussion
QuickBaseCoachD
10 years agoQrew Captain
Try this. i suspect that Dan's formula will not work
This formula was for Age, but I changed it to be used for completed years of service.
var date EST = [Empl Svc Dt];
Year(Today())-Year($EST)
-
If(
Month(Today())<Month($EST)
or
(Month(Today())=Month($EST) and Day(Today())<Day($EST)),1,0)
This formula was for Age, but I changed it to be used for completed years of service.
var date EST = [Empl Svc Dt];
Year(Today())-Year($EST)
-
If(
Month(Today())<Month($EST)
or
(Month(Today())=Month($EST) and Day(Today())<Day($EST)),1,0)
StephanieHarris
9 years agoQrew Assistant Captain
Worked with a slight adjustment:
var date HireDate = [Employee Adjusted Service Date];
var date IncidentDate = [Date Reported];
Year($IncidentDate) -Year($HireDate)
-
If(Month($IncidentDate) < Month($HireDate)
or
Month($IncidentDate) = Month($IncidentDate) and Day($HireDate) <Day($IncidentDate),1,0)
Thanks!