|
你好,
想請教您 我照書裡所附的ASP事件月曆做了一個月曆在部落格裡 但上傳到國外的空間後卻發生"時差"的問題 請問要怎麼改才能解決時差的問題呢? 謝謝!
我把
Dim RecCalendar__intYear RecCalendar__intYear = Year(Now()) If (Request.QueryString("Year") <> "") Then RecCalendar__intYear = Request.QueryString("Year") End If Dim RecCalendar__intMonth RecCalendar__intMonth = Month(Now()) If (Request.QueryString("Month") <> "") Then RecCalendar__intMonth = Request.QueryString("Month") End If
改成
Dim RecCalendar__intYear RecCalendar__intYear = Year(DateAdd("h",12,Now())) If (Request.QueryString("Year") <> "") Then RecCalendar__intYear = Request.QueryString("Year") End If Dim RecCalendar__intMonth RecCalendar__intMonth = Month(DateAdd("h",12,Now())) If (Request.QueryString("Month") <> "") Then RecCalendar__intMonth = Request.QueryString("Month") End If
還是不行耶~
|