How do you display a JavaScript datetime object in the 12 hour format (AM/PM)?
you can determine am or pm with this simple code
var today=new Date(); var noon=new Date(today.getFullYear(),today.getMonth(),today.getDate(),12,0,0); var ampm = (today.getTime()