Gets or sets the end date of the calendar.
Namespace: MindFusion.Scheduling
File: Calendar.js
SyntaxJavaScript
Copy Code
|
|---|
get endDate() {} |
DateTime
The end date of the calendar.
ExampleThe 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); |
See Also