romach
4/22/2017 - 12:53 AM

Time to millis

Time to millis

// use moment.js
moment.utc($("#start-date").val()).unix(); // get time from input