ÀÚÀ¯·Ó°Ô °Ô½Ã¹°À» ¿Ã¸±¼öÀÖ´Â °Ô½ÃÆÇÀÔ´Ï´Ù.
  • À¯³âÃß¾ï
  • Çб³»ýÈ°
  • ÀÔ½ÃÁغñ
  • ´ëÇлýÈ°
  • ±º»ýÈ°
  • ¾Ë¹Ù»ýÈ°
  • Ãë¾÷Áغñ
  • Á÷Àå»ýÈ°
  • ¿ø·ë»ýÈ°
  • ¿¬¾ÖÁß
  • °áÈ¥Áغñ
  • Áý¾È»ì¸²
  • Àڳ౳À°
  • â¾÷Áغñ
  • À̹ÎÀ¯ÇÐ
  • ³ëÈÄ»ýÈ°
  • Àüüº¸±â


ÁöÁ¤µÈ ³¯Â¥ºÎÅÍ Áö±Ý±îÁöÀÇ ½Ã°£À»¾Ë·ÁÁÖ´Â

 


<SCRIPT LANGUAGE="JavaScript">
<!--
var acc=0
var show_time=false;
var timerID=null;
var blank=":";
function stopit() {
if (show_time)
clearTimeout(timerID);
show_time=false;
}
function startit(form) {
var today=new Date();
var curyear=today.getYear()
if (curyear < 1000)
curyear+=1900
var acc1=acc;
var display_value =" Time: " + curyear
if (today.getMinutes() < 10) {
display_value+=":0" + today.getMinutes();
}
else {
display_value+=":" + today.getMinutes();
}
if (today.getSeconds() < 10){
display_value+=":0" + today.getSeconds();
}
else {
display_value+=":" + today.getSeconds();
}
if
(today.getHours()>=12) {
display_value+=" P.M. "
}
else {
display_value+=" A.M. "
}
display_value += " Date: " + (today.getMonth()+1) + "/" + today.getDate() + "/" + curyear;
window.status=display_value;
writeyourAge(acc1)
timerID=setTimeout("startit()",100);
show_time=true;
}
function writeyourAge(onval) {
if (onval == 0) {
normal()
} else {
accurate()
}
}
function normal() {
TheDate = new Date();
Month = TheDate.getMonth();
Day = TheDate.getDate();
Year = TheDate.getYear();
if (Year< 1000)
Year+=1900
Hour = TheDate.getHours();
Minute = TheDate.getMinutes();
Second = TheDate.getSeconds();
by = (document.my_age.birthy.value);
bm = (document.my_age.birthm.value);
bd = (document.my_age.birthd.value);
bh = (document.my_age.birthh.value);
bmn = (document.my_age.birthmin.value);
bs = (document.my_age.births.value);
BDate = Date.UTC(by,bm,bd,bh,bmn,bs);
if (Year<2000) {
CDate = Date.UTC(Year,Month,Day,Hour,Minute,Second);
} else {
CDate = Date.UTC(Year,Month,Day,Hour,Minute,Second);
}
Age = CDate-BDate + (1000*60*60*24*30); document.my_age.yrs.value = parseInt(((((Age/1000)/60)/60)/24)/365.25,10); document.my_age.dys.value = parseInt((((Age/1000)/60)/60)/24,10); document.my_age.hrs.value = parseInt(((Age/1000)/60)/60,10); document.my_age.mins.value = parseInt((Age/1000)/60,10); document.my_age.secs.value = parseInt(Age/1000,10);
}
function accurate() {
TheDate = new Date();
Month = TheDate.getMonth();
Day = TheDate.getDate();
Year = TheDate.getYear();
if (Year< 1000)
Year+=1900
Hour = TheDate.getHours();
Minute = TheDate.getMinutes();
Second = TheDate.getSeconds();
by = (document.my_age.birthy.value);
bm = (document.my_age.birthm.value);
bd = (document.my_age.birthd.value);
bh = (document.my_age.birthh.value);
bmn = (document.my_age.birthmin.value);
bs = (document.my_age.births.value);
BDate = Date.UTC(by,bm,bd,bh,bmn,bs);
if (Year<2000) {
CDate = Date.UTC(Year,Month,Day,Hour,Minute,Second);
} else {
CDate = Date.UTC(Year,Month,Day,Hour,Minute,Second);
}
Age = CDate-BDate + (1000*60*60*24*30); document.my_age.yrs.value = ((((Age/1000)/60)/60)/24)/365.25; document.my_age.dys.value = (((Age/1000)/60)/60)/24; document.my_age.hrs.value = ((Age/1000)/60)/60; document.my_age.mins.value = (Age/1000)/60; document.my_age.secs.value = Age/1000;
}
//-->
</SCRIPT>

</HEAD>

<BODY>

<!------2. ¾Æ·¡ÀÇ ¹æ½ÄÀ¸·Î ½ºÅ©¸³Æ®³ª HTML ű׸¦ ºÙ¿© ³ÖÀ¸¼¼¿ä ------------------->

<form name="my_age">

<table width=95% border=0>
<tr bgColor=lightblue>
<td align=center colspan=5>»ýÀÏ :
<input name="birthy" type="text" size=4>³â
<input name="birthm" type="text" size=2>¿ù
<input name="birthd" type="text" size=2>ÀÏ
<input name="birthh" type="text" size=2>½Ã
<input name="birthmin" type="text" size=2>ºÐ
<input name="births" type="text" size=2>ÃÊ
</td>
</tr>
<tr>
<td align=center colspan=5>
Á¤È®È÷<input type="radio" name="accurate" value="ON" onClick="if (this.checked) {acc=1}">
´ë Ãæ<input type="radio" name="accurate" Value="OFF" onClick="if (this.checked) {acc=0}" checked>
<input type="button" name="norm" value=" ½ÃÀÛ " onclick="startit()">
<input type="button" name="norm" value=" ÁßÁö " onclick="stopit()">
</td></tr>

<tr bgColor=lightyellow>
<td width=10><li><font color="#FFFFFF">.</td>
<td width=50>³ª´Â...</td>
<td width=300 align=center><input type="text" name="yrs" size=20></td>
<td width=100 align=left> »ì ÀÔ´Ï´Ù</td>
</tr>
<tr bgColor=lightyellow>
<td><li><font color="#FFFFFF">.</td>
<td>³¯Â¥·Î´Â...</td>
<td align=center><input type="text" name="dys" size=20></td>
<td align=left> ÀÏ »ì¾Ò±º¿ä</td>
</tr>
<tr bgColor=lightyellow>
<td><li><font color="#FFFFFF">.</td>
<td>½Ã°£À¸·Ð...</td>
<td align=center><input type="text" name="hrs" size=20></td>
<td align=left> ½Ã°£ »ì¾Ò³×¿ä</td>
</tr>
<tr bgColor=lightyellow>
<td><li><font color="#FFFFFF">.</td>
<td>ºÐÀ¸·Î´Â...</td>
<td align=center><input type="text" name="mins" size=20></td>
<td align=left> ºÐ »ì¾Ò½À´Ï´Ù</td>
</tr>
<tr bgColor=lightyellow>
<td><li><font color="#FFFFFF">.</td>
<td>ÃÊ·Î...</td>
<td align=center><input type="text" name="secs" size=20></td>
<td align=left> Ãʳª »ì°í ÀÖ±º¿ä</td>
</tr>
</table>
</form>



2001-12-24 19:02:16
984 ¹ø ÀÐÀ½
¢Ñ ·Î±×ÀÎ ÈÄ ÀÇ°ßÀ» ³²±â½Ç ¼ö ÀÖ½À´Ï´Ù
 Ä³½Ã¼±¹°





365ch.com 128bit Valid HTML 4.01 Transitional and Valid CSS!
ű×