Moment kalkulatora wieku JS

option 1
moment($('input[name=dob]').val(),"MM/DD/YYYY").month(0).from(moment().month(0))

option 2
moment().diff(moment(date, "DD MMM YYYY"), 'years');
Quaint Quoll