|
|
¢Ã ÇöÀçÀ§Ä¡ : ÀÚ·á½Ç > ¼ÒÇÁÆ®¿þ¾îÈ°¿ë (°ü¸®ÀÚ¸¸ ¾²±â°¡´É) |
¡áÀüüº¸±â
¢ºÅ×Å©ÆÁ
¢º±ÛÇÈ
¢ºÆíÁý
¢º¸ÖƼ
¢º¹é½Å
¢º¾ÐÃà
¢º»ç¹«
¢ºÅë½Å
¢ºOS
¢ºÇϵå
¢º±³À°
¢ºÀ¯Æ¿
¢º¼Ò½º
¢º±âŸ
No | 76 |
µî·ÏÀÏ | 2002/2/20(¼ö) |
|
[¼Ò½º] D-day ¼Ò½º
D-day ¼Ò½º..!! |
<script>
function memorial()
{ var memory1 = "X-Mas"; //¿©±â¿¡ ±â³äÀÏÀÇ À̸§À» ¾´´Ù. var memory1_day = new Date("Dec 25, 2000 00:00:00"); //¿©±â¿¡ ±â³äÀÏÀÇ ³¯Â¥¿Í ½Ã°£À» ±âÀÔÇÑ´Ù. var today = new Date();
with(Math){ var t = (memory1_day.getTime() - today.getTime())/(24 * 60 * 60 * 1000); var day1 = ceil(t); var msg = (day1 > 0) ? memory1 + ": D-" + day1: (day1 == 0) ? "¿À´ÃÀº "+ memory1 +"ÀÔ´Ï´Ù. ": memory1 +"(·ÎºÎÅÍ " + abs(day1) + "ÀÏ°ÀÔ´Ï´Ù.) "; } document.write(msg); }
memorial();
</script> |
|
|
|