Hi,
there is no special function for that.
If you simply subtract two dates you get the difference in days. You can get hours, mins and secs with multiplicaton by 24, 24*60, 24*60*60.
Ales