Sundays of Pleroma: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
function AddLine(numstr){ | function AddLine(numstr){ | ||
NextYear = Number(numstr | NextYear = Number(numstr+1); | ||
return "<p><b>"+NextYear.toString(NextYear)+"</b></p>"; | return "<p><b>"+NextYear.toString(NextYear)+"</b></p>"; | ||
} | } |
Revision as of 00:21, 10 November 2024
find the current year
find day of the week of Christmas this year
create output string
- start table
- start line
- header line one
- start line
- header line two
- start line
Call AddLine to output row for one year
repeat nine times
- increment year by one
- AddLine(nextYear)