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

IsTime – PB Docs 2017 – PowerBuilder Library

IsTime – PB Docs 2017

IsTime

PowerScript function

Description

Reports whether the value of a string is a valid time value.

Syntax

Argument

Description

timevalue

A string whose value you want to test to determine
whether it is a valid time

Return value

Boolean.

Returns true if timevalue is a valid time and false if it is not. If
timevalue is null, IsTime returns null.

Usage

Use IsTime to test to whether a value a user enters in an edit
control is a valid time.

To convert a string to an time value, use the Time function.

Examples

This statement returns true:

This statement returns false:

If the SingleLineEdit sle_EndTime contains 4:15 these statements
store 04:15:00 in lt_QuitTime:

See also

Time

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