With moment.js use valueOf() NOT unix() to get unix code of time