Answers for "format time to hh mm moment"

2

moment format date dd/mm/yyyy

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

javascript get time ago with moment

const dateTimeAgo = moment("2020-04-04 11:45:26.123").fromNow();
console.log(dateTimeAgo); //> 6 minutes ago
Posted by: Guest on April-04-2020

Code answers related to "format time to hh mm moment"

Code answers related to "Javascript"

Browse Popular Code Answers by Language