Last Friday of each month: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 2,109:
see "What year to calculate (yyyy) : "
give year
see "Last
month = list(12)
mo = [4,0,0,3,5,1,3,6,2,4,0,2]
Line 2,120:
for n = 1 to 12
for i = (mon[n] - 6) to mon[n]
if year%4 =
x = (month[n] + i) % 7 - 1
else x = (month[n] + i) % 7 ok
|