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

Hour – PB Docs 2019 – PowerBuilder Library

Hour – PB Docs 2019

Hour

PowerScript function

Description

Obtains the hour in a time value. The hour is based on a 24-hour
clock.

Syntax

Argument

Description

time

The time from which you want to obtain the hour

Return value

Integer.

Returns an integer (00 to 23) whose value is the hour portion of
time. If time is null, Hour returns null.

Examples

This statement returns the current hour:

This statement returns 19:

See also

Minute

Now

Second

Hour method for DataWindows in the section called “Hour” 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