jalali moment get milisocnds code example
Example: jalali moment get milisocnds
const dateB = moment('2014-11-11');
const dateC = moment('2014-10-11');
console.log('Difference is ', dateB.diff(dateC), 'milliseconds');
console.log('Difference is ', dateB.diff(dateC, 'days'), 'days');
console.log('Difference is ', dateB.diff(dateC, 'months'), 'months');