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