User:Alleryn/Sandbox/MoonPhase: Difference between revisions
< User:Alleryn | Sandbox
mNo edit summary |
|||
| Line 1: | Line 1: | ||
==Scratch== | ==Scratch== | ||
;{{#expr: {{#time:xNU|now}}- {{#time:xNU|2020-09-30}}}} | ;{{#expr: {{#time:xNU|now}}- {{#time:xNU|2020-09-30}}}} | ||
All server time: | |||
* in 2 days {{#timel:r|today +2 days}} | * in 2 days {{#timel:r|today +2 days}} | ||
* today {{#timel:r|today}} | * today {{#timel:r|today}} | ||
* now {{#timel:r|now}} | * now {{#timel:r|now}} | ||
* oct 1 {{#timel:r|Oct 1}} | * oct 1 {{#timel:r|Oct 1}} | ||
*{{#time:xNU|Oct 1}} seconds since fixed time (#time and #timel each renders both given time and fixed time as same time zone)<!-- seconds since fixed time--> | *{{#time:xNU|Oct 1}} seconds since fixed time (#time and #timel each renders both given time and fixed time as same time zone)<!-- seconds since fixed time--> | ||
*{{#timel:xNZ}} local server offset from GMT in seconds | *{{#timel:xNZ}} local server offset from GMT in seconds | ||
| Line 15: | Line 15: | ||
!Moon phase | !Moon phase | ||
|- | |- | ||
|Today GMT(({{#time: | |Today GMT(({{#time:r|today}}) || {{#ifexpr: | ||
abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | ||
abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | abs({{#timel:xNU|today}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | ||
Revision as of 20:26, 9 October 2020
Scratch
- 180748259
All server time:
- in 2 days Wed, 24 Jun 2026 00:00:00 +0000
- today Mon, 22 Jun 2026 00:00:00 +0000
- now Mon, 22 Jun 2026 23:50:59 +0000
- oct 1 Thu, 01 Oct 2026 00:00:00 +0000
- 1790812800 seconds since fixed time (#time and #timel each renders both given time and fixed time as same time zone)
- 0 local server offset from GMT in seconds
3 day chart (proof of concept / tGMTing)
Purge (This link will clear the page's cache, which may be necessary to fetch the current day correctly.)
| Day | Moon phase |
|---|---|
| Today GMT((Mon, 22 Jun 2026 00:00:00 +0000) | Waning Gibbous |
| Tomorrow | Waning Gibbous |
| In 2 Days | Waning Gibbous |
| In 3 Days | Waning Gibbous |
GMT
Current testing seems to indicate the game uses GMT for moon phase.
- Oct 1 - full
- Oct 10 - last q
- Oct 16 - new
- Oct 23 - first q
- Oct 31 - full
EST(Server Time)
- Oct 1 - full
- Oct 9 - last q
- Oct 16 - new
- Oct 23 - first q
- Oct 31 - full