

function time(){
// Edit you template path below...
var tpl_path = "";   // Do not include slash...
$.ajax({

url : tpl_path+"/time.php",

success : function (data) {

$("#time").html(data);

}

});

setTimeout("time()", 1000);
}

time();