<% v_year = InputValue( request.querystring("p_year") ) v_month = InputValue( request.querystring("p_month") ) if v_year = "" then intThisYear = Year(now) else intThisYear = v_year End if if v_month = "" then intThisMonth = Right( "0" & Month(now), 2 ) else intThisMonth = Right( "0" & v_month, 2 ) End if intThisMonth2 = intThisMonth '//1~9숫자 앞에 0붙이기 gday = Right("0"&Day(now), 2) '//오늘날짜 datFirstDay = Weekday( DateSerial( intThisYear, intThisMonth, 1 ) ) '//요일 구하기 (num) intLastDay = Day( DateSerial( intThisYear, intThisMonth+1, 1-1 ) ) '//마지막날 구하기 jucnt = Round( ( ( datFirstDay + intLastDay) / 7 ) + 0.5, 0 ) 'response.write jucnt '// 이전, 다음 만들기 If CInt( intThisMonth ) = 1 Then prevYear = intThisYear - 1 Else prevYear = intThisYear End if If CInt( intThisMonth ) = 1 Then prevMonth = 12 Else prevMonth = CInt(intThisMonth) - 1 End if If intThisMonth = 12 Then nextYear = intThisYear + 1 Else nextYear = intThisYear End if If intThisMonth = 12 Then nextMonth = 1 Else nextMonth = intThisMonth + 1 End if %>

일정관리

  1 2 3 4 5 6
7 8 9 10 TODAY 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
날짜 일정내용 문자설정
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉
2017-04-05 ~ 2017-04-05 조심히 다녀올게요 뿌잉뿌잉