diffnow + javascript luxon diffnow javascript - Luxon.js get difference between now and input date in years - Stack OverflowI'm using luxon.js and want to check, is the user's age is over than 21 years. Code, that i'm using for it const isTooYoung = date => DateTime.fromFormat(date, 'dd.MM.yyyy') .diffNow() ... wono | discuss | tweet
+ javascript luxon diffnow javascript - Luxon.js get difference between now and input date in years - Stack OverflowI'm using luxon.js and want to check, is the user's age is over than 21 years. Code, that i'm using for it const isTooYoung = date => DateTime.fromFormat(date, 'dd.MM.yyyy') .diffNow() ... wono | discuss | tweet