Answers for "moment get current date yyyy-mm-dd"

2

moment format date dd/mm/yyyy

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

moment yyyy-MM-ddTHH:mm

moment().format("YYYY-MM-DD[T]HH:mm:ss");
Posted by: Guest on November-24-2020
12

moment format date

moment().format();                                // "2019-08-12T17:52:17-05:00" (ISO 8601, no fractional seconds)
moment().format("dddd, MMMM Do YYYY, h:mm:ss a"); // "Monday, August 12th 2019, 5:52:00 pm"
moment().format("ddd, hA");                       // "Mon, 5PM"
Posted by: Guest on March-03-2020

Code answers related to "moment get current date yyyy-mm-dd"

Code answers related to "Javascript"

Browse Popular Code Answers by Language