Skip to main content

getEventEndDate

warning

The method is deprecated.

Description

Gets the event's end date

getEventEndDate: (id: string) => Date

Parameters

  • id - (required) string - the event's id

Returns

  • end_date - (Date) - the event's end date

Example

var eventId = scheduler.addEvent({
start_date: "16-05-2013 09:00",
end_date: "16-05-2013 12:00",
text: "Meeting"
});
...
scheduler.getEvent(eventId).end_date; // -> Thu May 16 2013 12:00:00
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.