Dezina Posted on Dec 23, 2021 All about moment.js var startTime = new Date(); startTime: moment(startTime).format("HH:mm"), // to get 24 hours time format endTime: moment(endTime).format("h:mm"), // to get 12 hours time format Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)