It is just a demarcation from your code.
The name of the function can be anything you want, it just needs to be self-explanatory.
DateDiff should be self-explanatory, or compare in the documentation.
However, when it comes to years, it makes a difference whether the Hire_Date is before or after...