Sundays of Pleroma: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<html> <!-- coded this on 2024-11-09 --> <div id="SundaysTable"></div> <script type="text/javascript"> function getNumberOfDays() { const date1 = new Date("4/24/1981"); const date2 = new Date(); // One day in milliseconds const oneDay = 1000 * 60 * 60 * 24; // Calculating the time difference between two dates const diffInTime = date2.getTime() - date1.getTime(); // Calculating the no. of days between two dates const diffInDays = Math....") |
No edit summary |
||
Line 1: | Line 1: | ||
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) | |||
<html> | <html> | ||
<!-- coded this on 2024-11-09 --> | <!-- coded this on 2024-11-09 --> |
Revision as of 23:58, 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)