Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove minutes with moment js

const moment = require('moment-timezone');
// it substract 5 minutes in the current time
moment().subtract(5, 'minutes');
 
PREVIOUS NEXT
Tagged: #remove #minutes #moment #js
ADD COMMENT
Topic
Name
9+8 =