55 SUBROUTINE w3fs26(JLDAYN,IYEAR,MONTH,IDAY,IDAYWK,IDAYYR)
59 l = l - (146097 * n + 3) / 4
60 i = 4000 * (l + 1) / 1461001
61 l = l - 1461 * i / 4 + 31
63 iday = l - 2447 * j / 80
65 month = j + 2 - 12 * l
66 iyear = 100 * (n - 49) + i + l
67 idaywk = mod((jldayn + 1),7) + 1
69 & (-31739 +1461 * (iyear+4799) / 4 - 3 * ((iyear+4899)/100)/4)
subroutine w3fs26(jldayn, iyear, month, iday, idaywk, idayyr)
Computes year (4 digits), month, day, day of week, day of year from julian day number.