mominsamir / smDateTimeRangePicker

Angular Material Date Picker, DateTime Picker, Date Range Picker, Date Time range picker
http://mominsamir.github.io/smDateTimeRangePicker/
MIT License
130 stars 50 forks source link

startDate and endDate #172

Open Emarguera opened 7 years ago

Emarguera commented 7 years ago

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 };