getHoursDiffBetweenDates
Calculates the difference (in hours) between two dates.
- Subtract the two
Date
objects and divide by the number of milliseconds in an hour to get the difference (in hours) between them.
Calculates the difference (in hours) between two dates.
Date
objects and divide by the number of milliseconds in an hour to get the difference (in hours) between them.