Difference between revisions of "testpageEMI"
From MGH Learn Pathology
Line 1: | Line 1: | ||
− | {{# | + | Monday |
+ | {{#vardefine:Monday|{{#switch:{{#time: l|now}}|Monday=0|Tuesday=-1|Wednesday=-2|Thursday=-3|Friday=-4|Saturday=-5|Sunday=-6}}}} | ||
+ | {{#time: Y|now {{#var:Monday}} days}} | ||
− | <br> | + | <br> |
− | + | {{#var:Monday}} | |
− | |||
− | |||
− | |||
− | |||
− | {{# | ||
<br> | <br> | ||
− | {{#time: l|now}} | + | Tuesday |
+ | {{#vardefine:Tuesday|{{#switch:{{#time: l|now}}|Monday=+1|Tuesday=0|Wednesday=-1|Thursday=-2|Friday=-3|Saturday=-4|Sunday=-5}}}} | ||
+ | {{#time: Y|now {{#var:Tuesday}} days}} | ||
− | + | <br> | |
− | {{# | + | {{#var:Tuesday}} |
− | |||
<br> | <br> | ||
− | |||
− | + | Wednesday | |
+ | {{#vardefine:Wednesday|{{#switch:{{#time: l|now}}|Monday=+2|Tuesday=+1|Wednesday=0|Thursday=-1|Friday=-2|Saturday=-3|Sunday=-4}}}} | ||
+ | {{#time: Y|now {{#var:Wednesday}} days}} | ||
− | + | <br> | |
− | {{# | + | {{#var:Wednesday}} |
− | |||
<br> | <br> | ||
− | |||
− | |||
− | + | Thursday | |
+ | {{#vardefine:Thursday|{{#switch:{{#time: l|now}}|Monday=+3|Tuesday=+2|Wednesday=+1|Thursday=0|Friday=-1|Saturday=-2|Sunday=-3}}}} | ||
+ | {{#time: Y|now {{#var:Thursday}} days}} | ||
− | + | <br> | |
− | {{# | + | {{#var:Thursday}} |
− | |||
<br> | <br> | ||
− | |||
+ | Friday | ||
+ | {{#vardefine:Friday|{{#switch:{{#time: l|now}}|Monday=+4|Tuesday=+3|Wednesday=+2|Thursday=+1|Friday=0|Saturday=-1|Sunday=-2}}}} | ||
+ | {{#time: Y|now {{#var:Friday}} days}} | ||
− | <br> | + | <br> |
− | + | {{#var:Friday}} | |
− | |||
− | {{# | ||
− | |||
<br> | <br> | ||
− | |||
+ | Saturday | ||
+ | {{#vardefine:Saturday|{{#switch:{{#time: l|now}}|Monday=+5|Tuesday=+4|Wednesday=+3|Thursday=+2|Friday=+1|Saturday=0|Sunday=-1}}}} | ||
+ | {{#time: Y|now {{#var:Saturday}} days}} | ||
+ | <br> | ||
+ | {{#var:Saturday}} | ||
<br> | <br> | ||
− | + | Sunday | |
− | {{#vardefine: | + | {{#vardefine:Sunday|{{#switch:{{#time: l|now}}|Monday=+6|Tuesday=+5|Wednesday=+4|Thursday=+3|Friday=+2|Saturday=+1|Sunday=0}}}} |
− | {{#time: Y|now {{#var: | + | {{#time: Y|now {{#var:Sunday}} days}} |
− | |||
− | |||
− | |||
− | + | <br> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <br> | ||
{{#var:Sunday}} | {{#var:Sunday}} | ||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 07:17, December 19, 2024
Monday
2025
-6
Tuesday
2025
-5
Wednesday
2025
-4
Thursday
2025
-3
Friday
2025
-2
Saturday
2025
-1
Sunday
2025
0