1 subroutine da_change_date(ccyy, mm, dd, delta)
3 !-----------------------------------------------------------------------
5 !-----------------------------------------------------------------------
9 integer, intent(inout) :: ccyy, mm, dd
10 integer, intent(in) :: delta
12 integer, dimension(12) :: mmday
14 mmday = (/31,28,31,30,31,30,31,31,30,31,30,31/)
18 if (mod(ccyy,4) == 0) then
21 if (mod(ccyy,100) == 0) then
25 if (mod(ccyy,400) == 0) then
41 elseif (dd .gt. mmday(mm)) then
49 end subroutine da_change_date