Folks,
I am trying to understand the MomentJS API. What is the appropriate way to get the current time on the machine?
var CurrentDate = moment(); <
Current date using momment.js in DD-MM-YYYY format
const currentdate=moment().format("DD-MM-YYYY"); console.log(currentdate)