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