Hour PowerScript function
Description
Obtains the hour in a time value. The hour is based on a 24-hour
clock.
Syntax
|
1 |
<span>Hour</span> ( <span>time</span> ) |
|
Argument |
Description |
|---|---|
|
time |
The time from which you want to obtain |
Return Values
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:
|
1 |
<span>Hour</span>(Now()) |
This statement returns 19:
|
1 |
<span>Hour</span>(19:01:31) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest