getEventStartDate

gets the event's start date

Date getEventStartDate(string id);

Deprecated

instead of it, you can use

var date = scheduler.getEvent(id).start_date;
idstringthe event's id
Datethe event's start 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).start_date; // -> Thu May 16 2013 09:00:00

See also
Back to top