´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
µî·ÏÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> FUNCTION µµ¿ò¸» ±×³É ©¶úÀ½. > ¼³¸í > ·ÎÄà ½Ã°£À» »ç¿ëÇÏ¿© Date °³Ã¼ÀÇ ¿ù °ªÀ» ¹ÝȯÇÕ´Ï´Ù. > ±¸¹® > objDate.getMonth() > Âü°í > ÇùÁ¤ ¼¼°è Ç¥ÁؽÃ(UTC)¸¦ »ç¿ëÇÏ¿© ¿ù °ªÀ» °¡Á®¿À·Á¸é getUTCMonth ¸Þ¼µå¸¦ »ç¿ëÇϽʽÿÀ. > getMonth ¸Þ¼µå´Â Date °³Ã¼ÀÇ ¿ù °ªÀ» ³ªÅ¸³»´Â 0ºÎÅÍ 11±îÁöÀÇ Á¤¼ö¸¦ ¹ÝȯÇÕ´Ï´Ù. ¹Ýȯ°ªÀº ½ÇÁ¦ ¿ù °ªº¸´Ù 1ÀÌ ÀÛ½À´Ï´Ù. Date °³Ã¼¿¡ "Jan 5, 1996 08:47:00"ÀÌ ÀúÀåµÇ¾î ÀÖÀ¸¸é getMonth ¸Þ¼µå´Â 0À» ¹ÝȯÇÕ´Ï´Ù. > > ¾Æ·¡ ¿¹Á¦´Â getMonth ¸Þ¼µåÀÇ »ç¿ë¹ýÀ» º¸¿©ÁÝ´Ï´Ù. > > function DateDemo() > { > var d, s = "¿À´Ã ³¯Â¥: "; > d = new Date(); > s += (d.getMonth() + 1) + "/"; > s += d.getDate() + "/"; > s += d.getYear(); > return(s); > } > > > > ³âµµ,¿ù,³¯Â¥,½Ã°£,ºÐ±îÁö ºñ±³¸¦ ÇؾߵǴÀµ¥ ¾ÈµË´Ï´Ù. > > > ÈæÈæ~~ > > > > > > < SCRIPT LANGUAGE="JavaScript" > > > > > > > today2 = new Date(); > > > myyear = today2.getFullYear(); > > > mymonth = today2.getMonth()+1; > > > myday = today2.getDate(); > > > mytime= today2.getHours(); > > > myminutes=today2.getMinutes(); > > > > > > > > > today1 = new Date(2000,06,21,09,30); > > > > > > > > > > > > > > > if (today1 < today2){ > > > > > > document.write(today2) > > > > > > location.href="win_list.asp"; > > > > > > } > > > else if (today1 > today2){ > > > document.write(today1) > > > } > > > < /script > > > > > > ----------------------------------------------------------- > > > > ÀÚ¹Ù½ºÅ©¸³Æ®±º¿ä... À½... > > > > ÇöÀç º¸´Ñ±î ºñ±³´Â Àß µÇ°í Àִµ¥¿ä... > > > > ¹®Á¦°¡ ¹¹³Ä¸é ÇöÀç ³¯Â¥ÀÇ ´ÞÀÌ ÇÑ´Þ ´Ê°Ô ³ª¿À´Â±º¿ä... -_-+ > > > > ¿øÀÎÀ» ¾Ë¼ö°¡ ¾ø³×¿ä.... > > > > < SCRIPT LANGUAGE="JavaScript" > > > > > today2 = new Date(); > > mymonth = today2.getMonth(); > > today2.setMonth(mymonth+1); > > > > today1 = new Date(2000,6,21,9,30); > > > > if (today1 < today2) > > document.write("haha") > > else > > document.write("hihi") > > > > < /script > > > > > ÀÌ·¸°Ô ÇÏ´Ñ±î µÇ±ä µÇ´Âµ¥.. -_-+ > > > > ¿Ç¹Ù¸¥ ¹æ¹ýÀº ¾Æ´Ñ°Í °°³×¿ä... ±×·³... > > > > > ----------------------------------------------------------- > -----------------------------------------------------------
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*