< ;script language = "javascript" type = "text/javascript">
function showTime(){
//The text between elements is through the object.innerText
document.getElementById("mytime") .innerText = new Date().toLocaleString();
}
setInterval("showTime()",1000);
< ;body>