- <SCRIPT LANGUAGE="JavaScript">
-
- <!-- Begin
- function clock() {
- var date = new Date()
- var year = date.getYear()
- var month = date.getMonth()
- var day = date.getDate()
- var hour = date.getHours()
- var minute = date.getMinutes()
- var second = date.getSeconds()
- //var months = new Array("", "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC")
- var months = new Array("", "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월")
- var monthname = months[month]
- var title_name = "♡ 카멜롯™의 소스천국 태그피아 ♡"; // 타이틀 제목
-
- if (hour > 12) { hour = hour - 12 }
-
- if (minute < 10) { minute = "0" + minute }
-
- if (second < 10) { second = "0" + second }
-
- document.title = title_name + " ☞ " + year + "년 " + monthname + " " + day + "일 " + hour + "시 " + minute + "분 " + second + "초"
- setTimeout("clock()", 1000)
- }
- // End -->
- </script>
-
- <BODY onLoad="clock();">
Posted by 알 수 없는 사용자