GetToday PowerScript function
Description
Returns the value that the calendar uses as today’s
date.
Controls
DatePicker, MonthCalendar controls
Syntax
|
1 |
<span>controlname</span>.<span>GetToday </span>( <span></span> ) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the control for which you |
Return Values
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 |
Date currentdate<br>currentdate = dp_1.GetToday() |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest