gets the event's end date
instead of it, you can use
var date = scheduler.getEvent(id).end_date;
id | string | the event's id |
Date | the event's end date |
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