Search
Calendar.date Property
See Also
 






Gets or sets the date of the calendar.

Namespace: MindFusion.Scheduling
File: Calendar.js

 Syntax

JavaScript  Copy Code

get date() {}
set date(value) {}

 Property Value

DateTime. The date of the calendar.

 Example

The following code gets the beginning of the week, which contains the current calendar.date:

JavaScript  Copy Code
var p = MindFusion.Scheduling;
.........
var startDate = p.DateTime.getWeekFirstDate(calendar.date);

 See Also