I guess there are lots of FM available for calculation of date and time differences.
Look at the results of FM below -
'FIMA_DAYS_AND_MONTHS_AND_YEARS'
SD_DATETIME_DIFFERENCE ?
If this is not your requirement, be more descriptive in your query.
Thanks, Abhinab