TimeDiff
TimeDiff( start, finish, unit )
TimeDiff( start, finish, unit )
TimeDiff( start, finish, unit )
TimeDiff( start, finish, unit )
time_diff( start, finish, unit )
TimeDiff( start, finish, unit )
Description
The TimeDiff
function returns the time difference between start
and finish
, expressed in unit
units. The difference includes start
but excludes finish
.
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
||
|
||
|
The type of unit that the difference should be expressed in. When When
|
Returns
A Number which represents the count of unit
units between
start
and finish
.
Examples
The following query demonstrates several time differences:
Arr(LongV(18449), LongV(36899), LongV(442788), LongV(26567314), LongV(1594038896), LongV(1594038896789))
[18449 36899 442788 26567314 1594038896 1594038896789]
[18449, 36899, 442788, 26567314, 1594038896, 1594038896789]
[ 18449, 36899, 442788, 26567314, 1594038896, 1594038896789 ]
[18449, 36899, 442788, 26567314, 1594038896, 1594038896789]
[ 18449, 36899, 442788, 26567314, 1594038896, 1594038896789 ]
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!