Although the other two repliers are correct, if you really want to use a function module the following one exists:
HR_HK_DIFF_BT_2_DATES
Using this module, you can bring back the difference in days, months or years.
Hope that helps.
Mary Kerschke
Add a comment