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 | var NextYear = Number(numstr) + 1; | ||
return "<p><b>"+NextYear.toString( | return "<p><b>"+NextYear.toString()+"</b></p>"; | ||
} | } | ||
Revision as of 23:24, 9 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)