Gets or sets the end date of the calendar.
Namespace: MindFusion.Scheduling
File: Calendar.js
JavaScript Copy Code |
---|
get endDate() {} |
DateTime
The end date of the calendar.
The following code gets the beginning of the week, which contains the current calendar.date and adds 14 days to the endDate of the calendar:
JavaScript Copy Code |
---|
var p = MindFusion.Scheduling; // create a new instance of the calendar calendar.endDate = p.DateTime.addDays(startDate, 14); |