Jump to content

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 FridaysFriday in " + year + " are on :" + nl
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 = 0 and n>0 and n<3
x = (month[n] + i) % 7 - 1
else x = (month[n] + i) % 7 ok
2,468

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.