FUNCTION REFERENCE

datetime.minus

Subtract two datetimes to find the elapsed duration.

Subtract two datetimes to find the elapsed duration.

Syntax

elapsed = finish - start

Syntax

elapsed = minus(finish, start)

Example

start = datetime(2024, 2, 28); finish = datetime(2024, 3, 1); days(finish - start)

See also: datetime

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.