How to calculate the number of days and hours between 2 dates?