ZtimeDiff

Returns the absolute difference between two Unix timestamps in the specified unit such as seconds, minutes, hours, or days.

Syntax

ZtimeDiff{timestamp1;timestamp2;unit?}

Arguments

NameTypeRequiredDefault
timestamp1integerYes-
timestamp2integerYes-
unitstringNoseconds

Example

ZtimeDiff{1700000000;1699990000;minutes}