Algosim documentation: DaysBetween

DaysBetween

Computes the number of days between two points in time.

Syntax

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