CurrentDate: Date
The CurrentDate property sets the time and date for the component.
The month value belongs to the range from zero to eleven.
To execute the example, create the DateTimePicker component (see Example of Creating the DateTimePicker Component). Create the component that has time and date:
var data = new Date (2011, 08, 29, 11, 0, 0, 0);
Set the variable as the value of the CurrentDate property:
CurrentDate: data
After executing the example the mark of the specified date value appears in all the calendar display modes. The set date appear in the input box of the component.
Seebsp;also: