smDateTimeRangePicker
smDateTimeRangePicker copied to clipboard
startDate and endDate
How can I get the endDate and startDate from the Range Picker ? And save it into a variable inside an event array like this
var newEventProp = { eventPropName: eventPropCtrl.eventPropName, eventPropCapacity: eventPropCtrl.eventPropCapacity, eventPropStartDate: moment(eventPropCtrl.eventPropStartDate), // this one eventPropFinishDate: moment(eventPropCtrl.eventPropFinishDate) // and this one };