Answers for "age calculator moment js"

0

age calculator moment 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');
Posted by: Guest on August-31-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language