Algosim documentation: HoursBetween

HoursBetween

Computes the number of hours between two points in time.

Syntax

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