Buenas noches..
aca te dejo un codigo con la hora como quieres..
<font face=Arial size=2 color=#000000><div id="basicclock"></div></font>
Código HTML:
<SCRIPT language="JavaScript" type="text/javascript">
function clock()
{
var digital = new Date();
var hours = digital.getHours();
var minutes = digital.getMinutes();
var seconds = digital.getSeconds();
var amOrPm = "AM";
if (hours > 11) amOrPm = "PM";
if (hours > 12) hours = hours - 12;
if (hours == 0) hours = 12;
if (minutes <= 9) minutes = "0" + minutes;
if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;
basicclock.innerHTML = dispTime;
setTimeout("clock()", 1000);
}
clock();
</SCRIPT>
saludos!
MC