function time_rota() {
	var now;
	var h, m, s;
	now = new Date(); //กก h=now.getUTCHours();
	h = now.getUTCHours();
	h = h + 8;
	if (h <= 0) {
		h += 24;
	}
	m = now.getUTCMinutes();
	s = now.getUTCSeconds();
	h = ((h < 10) ? "0": "") + h;
	m = ((m < 10) ? "0": "") + m;
	s = ((s < 10) ? "0": "") + s;
	document.getElementById("datenow").innerHTML = " " + h + ":" + m + ":" + s + " ";
	setTimeout("time_rota()", 1000);
}
time_rota();