Gets or sets the date of the calendar.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
get date() {} |
DateTime. The date of the calendar.
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); |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |