MonthCalendar.CurrentDate

Syntax

CurrentDate: Date

Description

The CurrentDate property sets date in the calendar.

Comments

The month value belongs to the range from zero to eleven.

If the time and date value is not set, the current time and date are displayed in the editor.

Example

To execute the example, create the calendar (see Example of Creating the MonthCalendar Component). Create the component that has time and date:

var date = new Date (2011, 08, 29, 11, 0, 0, 0);

 

Set the variable as the value of the CurrentDate property:

CurrentDate: date

 

After executing the example a selection for the set date value becomes available in all calendar display modes.

See also:

MonthCalendar