getHours() 12-hour format

July 29, 2016 admin 0

This Function will give the perfect time format in 1-12 hours   Javascript Function: function getClockTime(id){ var now = new Date(); var hour = now.getHours(); […]