moment difference between two dates in milliseconds code example Example: moment date difference in days moment(new Date()).diff(moment(new Date()), 'days') // 0