Function reference
Gets the number of seconds one time occurs after another.

SecondsAfter ( time1, time2 )

Argument Description
time1 A time value that is the start time of the interval being measured.
time2 A 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.

Example 1
This expression returns 15
SecondsAfter( Time(‘21:15:30’) , Time(‘21:15:45’) )

Example 2
This expression returns -15
SecondsAfter( Time(‘21:15:45’) , Time(‘21:15:30’) )

Last modified: 23 May 2021


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment