moment format 23 hour
let dt = moment();
dt.format("HH:mm") // 24 hour time
dt.format("hh:mm a") // 12 hour time (with am/pm)
4
7
moment("15", "hh").format('LT')
Thank you!
7
0
Are there any code examples left?
New code examples in category Javascript