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

GetSelectedDate – PB Docs 2021 – PowerBuilder Library

GetSelectedDate – PB Docs 2021

GetSelectedDate

PowerScript function

Description

Retrieves the selected date.

Applies to

MonthCalendar control

Syntax

Argument

Description

controlname

The name of the MonthCalendar control for which you want
to get the selected date

d

A date value returned by reference that indicates the date
selected

Return value

Integer.

Returns 0 for success and one of the following negative values
otherwise:

-1 — A range of dates is selected

-2 — Unknown failure

Usage

If a range of dates is selected, GetSelectedDate returns -1 and
retrieves the earliest selected date.

Examples

This example retrieves the selected date into seldate:

See also

GetSelectedRange

SetSelectedDate

SetSelectedRange


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