Find the last Sunday of each month: Difference between revisions
Find the last Sunday of each month (view source)
Revision as of 15:21, 7 December 2023
, 5 months agono edit summary
No edit summary |
|||
Line 2,355:
end fn
// Concentrate from D. Knuth: CACM 1962;5:209▼
y = 2024
▲// Concentrate from D. Knuth: CACM 1962;5:209
c = y / 100 + 1
d = ( 3 * c / 4 ) - ( 5 * y / 4 )
|