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

GetDateLimits – PB Docs 2019 – PowerBuilder Library

GetDateLimits – PB Docs 2019

GetDateLimits

PowerScript function

Description

Retrieves the maximum and minimum date limits specified for the
calendar.

Applies to

MonthCalendar control

Syntax

Argument

Description

controlname

The name of the MonthCalendar control for which you want
to determine the date limits

min

A date value returned by reference that represents the
minimum date that can be referenced or displayed in the
calendar

max

A date value returned by reference that represents the
maximum date that can be referenced or displayed in the
calendar

Return value

Integer.

Returns 0 when both limits are retrieved successfully and one of the
following negative values otherwise:

-1 — No limits were set

-2 — Unknown failure

Usage

Use the SetDateLimits function to set minimum and maximum dates. If
no date limits have been set, GetDateLimits returns -1 and sets min and
max to January 1, 1900.

Examples

This example displays a message box that shows the minimum and
maximum dates set for a control:

See also

SetDateLimits


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