const moment = require('moment-timezone'); // it substract 5 minutes in the current time moment().subtract(5, 'minutes');