how to convert time into 12 hrs in javascript code example
Example: how to conver time format to 12 hours in javascript
var hours = dt.getHours()
minute = dt.getMinutes();
hours = (hours % 12) || 12;
console.log("Time is - " + hours + ":" + minure;