<div class="codetitle"> <span><a style="CURSOR: pointer" data="72510" class="copybut" id="copybut72510" onclick="doCopy('code72510')"><u>코드 복사</u></a></span> 코드는 다음과 같습니다.</div> <div class="codebody" id="code72510"> <br><%@ page Language="java" import= "java.util.*" pageEncoding="utf-8"%><br> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><br> <html> <br> <head><br> <script type="text/javascript"><br> function bodyLoad(){<br><br> var dateTime=new Date();<br> var hh= dateTime.getHours();//Hours<br> var mm=dateTime.getMinutes();//Minutes<br> var ss=dateTime.getSeconds();//Seconds<br><br> var yy=dateTime. getFullYear( ; 🎜><br> var week=dateTime.getDay();//Week(0~6,0은 일요일을 의미)<br> var days=["Day", "Monday", "Two", "Wednesday ", " 4", "5", "6",]<br><br> document.getElementById("date").innerHTML=yy "연도" MM "월" dd "일" "주" 일[주 ] ;<br> document.getElementById("time").innerHTML=hh "시간" mm "분" ss "초"; ;<br> </head><br> '시간' ></span> ;<BR> </body><br> </html><br><br> </div>