跳转到主要内容

getEventStartDate

警告

此功能已棄用。

Description

获取事件的开始日期

getEventStartDate: (id: string) => Date

Parameters

  • id - (required) string - 事件的唯一标识符

Returns

  • start_date - (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
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.