I’m trying to calculate the length of service of employees by using the DateDiff Function in a query and have the results displayed in a report. The expression that I am using is:
Length of Service: DateDiff("yyyy",[tblDA]![HireDate], Now())
The expression works fine and displays in the report fine. I was wondering is there a way to show the year and months of service. For instance 1.5yrs or 1yr 6months. If possible I would like the data to show 1 yr 6months.
Length of Service: DateDiff("yyyy",[tblDA]![HireDate], Now())
The expression works fine and displays in the report fine. I was wondering is there a way to show the year and months of service. For instance 1.5yrs or 1yr 6months. If possible I would like the data to show 1 yr 6months.