now = new Date(); if ((now.getUTCHours() - now.getHours()) != 0) (hours = now.getHours()) else (hours = (4 + now.getHours())); if (hours < 24) {document.write("" + ((hours < 10) ? "0" : "") + hours + ":" + ((now.getMinutes() < 10) ? "0" : "") + now.getMinutes() + ":" + ((now.getSeconds() < 10) ? "0" : "") + now.getSeconds())} else {if (hours < 25) {document.write("00:" + ((now.getMinutes() < 10) ? "0" : "") + now.getMinutes() + ":" + ((now.getSeconds() < 10) ? "0" : "") + now.getSeconds())} else {if (hours < 26) {document.write("01:" + ((now.getMinutes() < 10) ? "0" : "") + now.getMinutes() + ":" + ((now.getSeconds() < 10) ? "0" : "") + now.getSeconds())} else {if (hours < 27) {document.write("02:" + ((now.getMinutes() < 10) ? "0" : "") + now.getMinutes() + ":" + ((now.getSeconds() < 10) ? "0" : "") + now.getSeconds())} else {document.write("03:" + ((now.getMinutes() < 10) ? "0" : "") + now.getMinutes() + ":" + ((now.getSeconds() < 10) ? "0" : "") + now.getSeconds())} } } }