<♣ 휴게실 ♣>/*^^*

[스크랩] 알고싶은 년도의 달력

화엄행 2009. 4. 12. 22:43

 

calender[1].txt

 

year[1].txt

첨부파일
calender[1].txt (5 KB) 다운로드
year[1].txt (71 KB) 다운로드

 

 

     연도 달력 : http://club.daeryun.or.kr/schedule/year.php?year=2007&club_id=club

 

      년도 달력 : http://choisworld.com/calender.html

 

 

년 달력
01 월
 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

     
             
02 월
       

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

     
             
03 월
       

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

             
04 월

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

         
             
05 월
   

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

   
             
06 월
         

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

             
07 월

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

       
             
08 월
     

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

 
             
09 월
           

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

           
10 월
 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

     
             
11 월
       

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

 
             
12 월
           

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

         

 

 

 

\n\n" +"\n\n" +"\n\n"); if(year=="") { document.write("

\n" +" 알고싶은 년도[ENTER]: " +"\n" +"
\n\n"); } else { document.write("\n\n\n\n" +"\n\n



" +"" + year + "
");
  leapyear = (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) ?1:0
  month_length = new Array(12)
    month_length[0] = 31;
    month_length[1] = leapyear ? 29 : 28;
    month_length[2] = 31;
    month_length[3] = 30;
    month_length[4] = 31;
    month_length[5] = 30;
    month_length[6] = 31;
    month_length[7] = 31;
    month_length[8] = 30;
    month_length[9] = 31;
    month_length[10] = 30;
    month_length[11] = 31;
  month_start_day = new Array(12)
    start_date = new Date(year,0,1);
    month_start_day[0] = start_date.getDay();
    a = 0;
    while(a<11)
    {
      month_start_day[a+1] = (month_start_day[a] + month_length[a]) % 7;
      a++;
    }
   daystr=" S  M  T  W  R  F  S    S  M  T  W  R  F  S    S  M  T  W  R  F  S\n"
  month_titles = new Array(4)
  month_titles[0] = "\n       January               "
                    + "February                 March\n";
  month_titles[1] = "\n        April                   "
                    + "May                   June\n";
  month_titles[2] = "\n        July                  "
                    + "August                September\n";
  month_titles[3] = "\n       October               "
                    + "November               December\n";
  cur_set = 0;
  for(cur_set=0; cur_set<4; cur_set++)
  {
    cur_date = new Array(3);
      cur_date[0] = 1;
      cur_date[1] = 1;
      cur_date[2] = 1;
    cur_day = new Array(3);
      cur_day[0] = month_start_day[(cur_set * 3)];
      cur_day[1] = month_start_day[(cur_set * 3) + 1];
      cur_day[2] = month_start_day[(cur_set * 3) + 2];
    month_done = new Array(3);
      month_done[0] = 0;
      month_done[1] = 0;
      month_done[2] = 0;
    document.write("\n" + month_titles[cur_set] + daystr);
    while( (cur_date[0] <= month_length[(cur_set * 3)]) ||
           (cur_date[1] <= month_length[(cur_set * 3) + 1]) ||
           (cur_date[2] <= month_length[(cur_set * 3) + 2]) )
    {
      for(cur_month=0; cur_month<3; cur_month++)
      {
        if(month_done[cur_month])
        {
          document.write("                    ");
          if(cur_month < 2) { document.write("   "); }
        }
        week_flag = 0;
        while( (! week_flag) &&
               (cur_date[cur_month] <= month_length[(cur_set * 3)+cur_month]) )
        {
          if(cur_date[cur_month] == 1)
          {
            space_str = "";
            day_ctr = 0;
            while(day_ctr < cur_day[cur_month])
            {
              space_str = space_str + "   ";
              day_ctr++;
            }
            document.write(space_str);
          }
	  if(cur_date[cur_month] <= 9) { document.write(" "); }
          document.write(cur_date[cur_month]);
          if( (cur_day[cur_month] != 6) &&
              (cur_date[cur_month] != month_length[(cur_set * 3)+cur_month]) )
            { document.write(" "); }
          if( (! month_done[cur_month]) &&
              (cur_date[cur_month] == month_length[(cur_set * 3)+cur_month]) )
          {
            space_str = "";
            day_ctr = cur_day[cur_month];
            while(day_ctr < 6)
            {
              space_str = space_str + "   ";
              day_ctr++;
            }
            if(cur_month < 2) { space_str = space_str + "   "; }
            if( (cur_month == 2) && (! (month_done[0] && month_done[1]) ) )
              { space_str = space_str + "\n"; }
            document.write(space_str);
            month_done[cur_month] = 1;
          }
          cur_date[cur_month]++;
          cur_day[cur_month]++;
          if( (cur_day[cur_month] == 7) && (! month_done[cur_month]) )
          {
            if(cur_month < 2) { document.write("   "); }
            cur_day[cur_month] = 0;
            if(cur_month == 2) { document.write("\n"); }
            week_flag = 1;
          }
        }
      }
    }
  }
  document.write("\n
\n\n") } document.write("
\n\n\n"); // -->

출처 : ♬(^0^)~♪
글쓴이 : 랄랄라 ♪♬♪ 원글보기
메모 :