TimeDiff

Top  Previous  Next

Function

Returns the difference between two times, in time format.

 

Syntax

 

value = TimeDiff( expression1, expression2 )

 

Parameters

expression1 and expression2

 

any expression that resolves to a time HHMM format.

 

 

 

returns

 

the difference between the two times, in HHMM format.

 

Examples

 

thedifference = TimeDiff( 1055, 945 )                ' Return 0110