Calculates the difference between two dates in the specified time unit.
The first date to compare.
The second date to compare.
The unit of time to return the difference in (defaults to "milliseconds").
The difference between the two dates in the specified unit.
4.0.0
2021-12-14
Calculates the difference between two dates in the specified time unit.