Skip to content
Contact us

SecondsAfter()

SecondsAfter ( time1, time2 )

ArgumentDescription
time1A time value that is the start time of the interval being measured.
time2A time value that is the end time of the interval.

Data type: Long Returns the number of seconds time2 occurs after time1. If time2 occurs before time1, SecondsAfter returns a negative number.

SecondsAfter( Time('21:15:30') , Time('21:15:45') )

This expression returns 15

SecondsAfter( Time('21:15:45') , Time('21:15:30') )

Example 2 This expression returns -15