Answers for "how to get the current date from moment"

-2

how to get current time using moment

var startDate = moment().subtract(1, 'days'); //one day before the current time
Posted by: Guest on February-22-2021

Code answers related to "how to get the current date from moment"

Browse Popular Code Answers by Language