Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

SecondsAfter – PB Docs 2021 – PowerBuilder Library

SecondsAfter – PB Docs 2021

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 value

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

DaysAfter

RelativeDate

RelativeTime

SecondsAfter method for DataWindows in the section called “SecondsAfter” in DataWindow Reference.


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