GetToday
PowerScript function
Description
Returns the value that the calendar uses as today’s date.
Applies to
DatePicker, MonthCalendar controls
Syntax
|
1 |
controlname.GetToday ( ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the control for which you want to get today’s |
Return value
Date.
Usage
By default, the current system date is set as the Today date. You
can use the SetToday function to specify a different date.
Examples
This example retrieves the Today date in a DatePicker control into
currentdate:
|
1 2 |
Date currentdate currentdate = dp_1.GetToday() |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest