get the difference of years between a date and today in moment.js code example
Example: moment date difference in days
moment(new Date()).diff(moment(new Date()), 'days') // 0
moment(new Date()).diff(moment(new Date()), 'days') // 0