Answers for "moment(Date.now()).subtract(, ); year"

1

moment js subtract years

let min_date = moment().subtract(18, 'years');
Posted by: Guest on November-19-2020
0

moment(endDate).subtract(1, 'month')

moment().subtract(7, 'days');
Posted by: Guest on March-31-2021

Browse Popular Code Answers by Language