Answers for "get current hour using moment"

3

moment hour minute

moment().format('HH:mm:ss')
Posted by: Guest on January-12-2021
-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

Browse Popular Code Answers by Language