avanesov89,
<style>
output{
display : block;
}
</style>
<script>
function Time(name) {
var d = new Date(), utc;
name == 'msc' ? utc = 3 : name == 'hk' ? utc = 8 : eval('return');
d.setHours( d.getHours() + utc, d.getMinutes() + d.getTimezoneOffset() );
return d.toTimeString().substring(0,8);
}
onload = function () {
setInterval(function () {
document.getElementById("msc").innerHTML = 'Moscow time : ' + Time('msc');
document.getElementById("hk").innerHTML = 'Hong Kong time : ' + Time('hk');
}, 100);
}
</script>
<output id="msc"></output>
<output id="hk"></output>