Implemented the task to get the number of days between two dates