Calculates the difference in hours between two provided dates.
The starting date.
The ending date.
The difference in hours between the two dates.
console.log(getDiffInHrs(new Date("12/12/2012"), new Date())); Copy
console.log(getDiffInHrs(new Date("12/12/2012"), new Date()));
Generated using TypeDoc
Calculates the difference in hours between two provided dates.