JS Date Eliminar AM y PM
var ampm = hours >= 12 ? 'pm' : 'am';
Blue Buzzard
var ampm = hours >= 12 ? 'pm' : 'am';