function myFunc(){
　myTbl = new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
　now = new Date()
　myD = new Date()
　myD.setTime(now.getTime() + (now.getTimezoneOffset() + 540) * 60 * 1000) 
　myYear = myD.getYear();
　myYear4 = (myYear < 2000) ? myYear+1900 : myYear;
　myMonth = myD.getMonth() +1;
　myDate = myD.getDate();
　myDay = myD.getDay();
　myHours = myD.getHours();
　myMinutes = myD.getMinutes();
　mySeconds = myD.getSeconds();
　if (myMonth < 10) { myMonth = '0' + myMonth };
　if (myDate < 10) { myDate = '0' + myDate };
　if (myHours < 10) { myHours = '0' + myHours };
　if (myMinutes < 10) { myMinutes = '0' + myMinutes };
　if (mySeconds < 10) { mySeconds = '0' + mySeconds };
　myMess1 = myDate + "." + myMonth + "." + myYear4 + " " + "（" + myTbl[myDay] + "）" 
　+ myHours + ":" + myMinutes + ":" + mySeconds + " Tokyo";
　document.getElementById("myTime").innerHTML = myMess1;
　}
