HoursBetween
Computes the number of hours between two points in time.
Syntax
-
HoursBetween(t, s)-
tandsare datetime structures or timestamps
-
Description
If t and s are DateTime structures or timestamps, then HoursBetween(t, s) returns the (in general non-integral) number of hours between t and s, irrespective of the order of t and s.
Examples
HoursBetween(yesterday(), today())
24