|
|
|
|
俵ÀÌ / 2000-06-07 / ¿ÀÈÄ 1:54:05 / 203.255.3.190
Á¶È¸¼ö : 116
|
[Áú¹®] 俵´Ô~ µµ¿ÍÁÖ¼¼¿ä. ³¯Â¥ºñ±³±¸¹®60 |
> today1Àº ÀÓÀÇ·Î asp¿¡ ³¯Â¥¸¦ ¾´°ÍÀ̱¸¿ä.
> today2´Â ¼¹öÃøÀÇ ¿À´Ã³¯Â¥¸¦ ²ø¾î¿À´Â °ÍÀÌ¿¡¿ä.
> Á¦°¡ ÀÌ µÎ ³âµµ,³¯Â¥,½Ã°£À» ºñ±³ÇؾßÇϴµ¥, À߾ȵdz׿ä.
> ºÎµð ÇØ°áÁ» ÇØÁÖ¼¼¿ä. ¿©±âÀú±â µ¹¾Æ´ç°å´Âµ¥, À߸𸣰ڽÀ´Ï´Ù. 俵´Ô~~~!! ¤Ð.¤Ð
> --------------------------------------------------
> today1 Àº ÀÓÀÇ·Î ³¯Â¥¸¦ ÁöÁ¤ÇÑ °ÍÀÌ°í
> tdday2 ´Â ¼¹öÃø ½Ã½ºÅÛ ³¯Â¥¸¦ »Ì´Â ºÎºÐÀÔ´Ï´Ù.
>
>
> < SCRIPT LANGUAGE="JavaScript" >
>
> function today()
>
> {
>
> today1 = new Date(2000,06,20,14,30);
>
> document.write("2000,06,20,14,30 ", today1.getYear(), "³â ",
> today1.getMonth()+1, "ÀÏ ",
> today1.getDate(), "ÀÏ")
> document.write("ÇöÀç ½Ã°£Àº ", today1.getHours(), "½Ã ",
> today1.getMinutes(),"ºÐ")
>
>
>
>
>
>
> today2 =new Date()
>
> document.write("¿À´Ã³¯Â¥´Â",today2.getyear(),"³â",
> today2.getMonth()+1,"¿ù",
> today2.getDate(),"ÀÏ",
> today2.getHours(),"½Ã",
> today2.getMinutes(),"ºÐ")
>
>
> if (today1>today2){
>
> alert(" °æ±â ³¯Â¥°¡ ¸¶°¨µÇ¾ú½À´Ï´Ù..");
> }
>
> }
>
> < /script >
>
>
>
-----------------------------------------------------------
À½.... ÀÌ ½ºÅ©¸³Æ®°¡ ¿À·ù°¡ ³ª´Â ÀÌÀ¯´Â
¿À´Ã ³¯Â¥¸¦ ±¸ÇϽǶ§ getyear()¶ó°í Ç߱⠶§¹®ÀÔ´Ï´Ù...
ÀÚ¹Ù½ºÅ©¸³Æ®´Â ´ë¼Ò¹®ÀÚ¸¦ ±¸º°Çϱ⠶§¹®¿¡ getYear()
¶ó°í ÇϼžßÇÕ´Ï´Ù...
±×¸®°í
today2 = new Date()
´ÙÀ½¿¡ ;µµ ºüÆ®¸®¼Ì³×¿ä...
today2 =new Date();
ÀÌ°Ç ¾ø¾îµµ µÇ±ä ÇÏÁö¸¸... ½áÁִ°ÍÀÌ ±âº»ÀÌÁÒ...
±×·³... ¿øÇÏ´Â °á°ú¸¦ ¾ò¾î½Ã±æ...
|
|
|
|