Algosim documentation: SecondsBetween

SecondsBetween

Computes the number of seconds between two points in time.

Syntax

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