How do you display a JavaScript datetime object in the 12 hour format (AM/PM)?
Or just simply do the following code: