Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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)
 
PREVIOUS NEXT
Tagged: #moment #format #hour
ADD COMMENT
Topic
Name
4+8 =