SecondsAfter – PB Docs 126

SecondsAfter PowerScript function

Description

Determines the number of seconds one time occurs after another.

Syntax

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

Return Values

Long. Returns the number of seconds time2 occurs
after time1. If time2 occurs before time1, SecondsAfter returns
a negative number. If any argument’s value is null, SecondsAfter returns null.

Examples

This statement returns 15:

This statement returns -15:

This statement returns 0:

If you declare start_time and end_time time
variables and assign 19:02:16 to start_time and
19:02:28 to end_time as shown below:

then each of these statements returns 12:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x