Answers for "moment js link"

11

momentjs cdn

<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.25.1/moment.min.js"></script>
Posted by: Guest on May-02-2020
4

moment

moment().format('MMMM Do YYYY, h:mm:ss a'); // May 22nd 2020, 6:00:23 pm
moment().format('dddd');                    // Friday
moment().format("MMM Do YY");               // May 22nd 20
moment().format('YYYY [escaped] YYYY');     // 2020 escaped 2020
moment().format();                          // 2020-05-22T18:00:23+05:30
Posted by: Guest on May-22-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language