Go to the documentation of this file.
12 subroutine ymd2day(year,month,dayOfMonth,dayOfYear)
24 integer*4 startOfMonth(12,2)
26 data startofmonth / 0,31,59,90,120,151,181,212,243,273,304,334,
27 . 0,31,60,91,121,152,182,213,244,274,305,335 /
29 if (mod(year,4) .eq. 0)
then
35 dayofyear = startofmonth(month,leap) + dayofmonth
subroutine ymd2day(year, month, dayOfMonth, dayOfYear)