find number of days between two given dates c