Answers for "how to subtract 15 minutes from moment javascript"

2

moment js subtract years

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

how to remove minutes with moment js

const moment = require('moment-timezone');
// it substract 5 minutes in the current time
moment().subtract(5, 'minutes');
Posted by: Guest on April-25-2021

Code answers related to "how to subtract 15 minutes from moment javascript"

Browse Popular Code Answers by Language