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

Syntax 1: for DatePicker control – PB Docs 2019 – PowerBuilder Library

Syntax 1: for DatePicker control – PB Docs 2019

Syntax 1: for DatePicker control

Description

Returns the date and time in the Value property of the
control.

Applies to

DatePicker control

Syntax

Argument

Description

controlname

The name of the control for which you want to get the
date and time

d

The date value in the Value property returned by
reference

t

The time value in the Value property returned by
reference

dt

The DateTime value in the Value property returned by
reference

Return value

Integer.

Returns 1 for success and one of the following negative values for
failure:

-1 — Invalid date and/or time values

-2 — Other error

Usage

The GetValue function can return the date and time parts of the
Value property in separate date and time variables or a single DateTime
variable.

Examples

In this example, the GetValue function is called twice, once to
return separate date and time values and once to return a DateTime
value. The values returned are written to a multiline edit
control:

See also

GetText

SetValue


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