Answers for "moment js convert time to date"

2

moment format date dd/mm/yyyy

moment(new Date()).format("DD/MM/YYYY")
Posted by: Guest on November-11-2020
-1

moment now format

var date = moment().format('MM/DD/YYYY');
Posted by: Guest on July-27-2020

Code answers related to "moment js convert time to date"

Code answers related to "Javascript"

Browse Popular Code Answers by Language