´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • beta / 2000-07-03 / ¿ÀÀü 11:17:35 / 210.205.27.204
    Á¶È¸¼ö : 141
    [Áú¹®] ¿Ã¹Ù¸¥ ¹æ¹ýÀÓ´Ù. :)
    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 >
    >
    > ÀÌ·¸°Ô ÇÏ´Ñ±î µÇ±ä µÇ´Âµ¥.. -_-+
    >
    > ¿Ç¹Ù¸¥ ¹æ¹ýÀº ¾Æ´Ñ°Í °°³×¿ä... ±×·³...
    >
    >
    -----------------------------------------------------------
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :