Description
Returns the value that the calendar uses as today's date.
Applies to
DatePicker, MonthCalendar controls
Syntax
controlname.GetToday ( )
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:
Date currentdate currentdate = dp_1.GetToday()
See also