Answers for "moment js to iso"

0

how to get iso date with moment

moment().toISOString(); // or format() - see below
Posted by: Guest on April-26-2020
8

format a date moment

moment(testDate).format('MM/DD/YYYY');
Posted by: Guest on December-18-2019
1

momentjs utcoffset

moment().utcOffset()    // will output 60 (for example)
Posted by: Guest on September-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language