Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment format heure

var time = "15:30:00";
var formatted = moment(time, "HH:mm:ss").format("LT");
console.log(formatted); 
//it will return 3:30 PM
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #moment #format #heure
ADD COMMENT
Topic
Name
2+8 =