Difference between revisions of "User:Alleryn/Sandbox/MoonPhase"
From Project: Gorgon Wiki
< User:Alleryn | Sandbox
m (→3 day chart (proof of concept / testing)) |
m (→3 day chart (proof of concept / testing)) |
||
(25 intermediate revisions by the same user not shown) | |||
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 {{# | + | * in 2 days: {{#timel:r|today +2 days}} |
− | * today {{# | + | * today: {{#timel:r|today}} |
− | * now {{#timel:r|now}} | + | * now: {{#timel:r|now}} |
− | * oct 1 {{# | + | * oct 1: {{#timel:r|Oct 1}} |
− | *{{#time:xNU|Oct 1}} <!-- 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 | ||
==3 day chart (proof of concept / testing)== | ==3 day chart (proof of concept / testing)== | ||
+ | :{{Purge}} (This link will clear the page's cache, which may be necessary to fetch the current day correctly.) | ||
+ | :Next Full Moon: Oct 31, 2020 | ||
+ | :If the above date has passed, this page is out of date and needs to be updated! (Like now, hopefully i'll get to this soon. Would be easier with https://www.mediawiki.org/wiki/Extension:Variables.). In that case, the info below will be incorrect. | ||
{| | {| | ||
!Day | !Day | ||
!Moon phase | !Moon phase | ||
|- | |- | ||
− | |Today || {{#ifexpr: | + | |Today GMT ({{#time:D, Y-M j|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 | | ||
Line 30: | Line 34: | ||
}} | }} | ||
|- | |- | ||
− | |Tomorrow ||{{#ifexpr: | + | |Tomorrow ({{#time:D|today +1 days}}) ||{{#ifexpr: |
abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | ||
abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | abs({{#timel:xNU|today + 1 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | ||
Line 47: | Line 51: | ||
}} | }} | ||
|- | |- | ||
− | |In 2 Days ||{{#ifexpr: | + | |In 2 Days ({{#time:D|today +2 days}}) ||{{#ifexpr: |
abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | ||
abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | abs({{#timel:xNU|today + 2 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | ||
Line 64: | Line 68: | ||
}} | }} | ||
|- | |- | ||
− | |In 3 Days ||{{#ifexpr: | + | |In 3 Days ({{#time:D|today +3 days}}) ||{{#ifexpr: |
abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 1}} <!--Date of Last Full Moon in GMT--> ) <= 24*60*60 or | ||
abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | abs({{#timel:xNU|today + 3 days}}-{{#timel:xNU|Oct 31}} <!--Date of Next Full Moon in GMT--> ) <= 24*60*60 | Full Moon | | ||
Line 83: | Line 87: | ||
==GMT== | ==GMT== | ||
+ | Current testing seems to indicate the game uses GMT for moon phase. (This is to say that, while the game's date changes at midnight server time (EST), it is the date of the full moon in GMT that determines moon phase. For example, if the full moon lands on January 20 1AM in GMT (late on Jan 19 in server time), the dates of the full moon in-game will be Jan 19-21, not Jan 18-20). | ||
;Oct 1 - full | ;Oct 1 - full | ||
;Oct 10 - last q | ;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 16 - new | ||
;Oct 23 - first q | ;Oct 23 - first q | ||
;Oct 31 - full | ;Oct 31 - full |
Latest revision as of 05:13, 1 November 2020
Scratch
- 130939404
All server time:
- in 2 days: Sun, 24 Nov 2024 19:00:00 -0500
- today: Fri, 22 Nov 2024 19:00:00 -0500
- now: Sat, 23 Nov 2024 07:03:24 -0500
- oct 1: Mon, 30 Sep 2024 20:00:00 -0400
- 1727740800 seconds since fixed time (#time and #timel each renders both given time and fixed time as same time zone)
- -18000 local server offset from GMT in seconds
3 day chart (proof of concept / testing)
- Purge (This link will clear the page's cache, which may be necessary to fetch the current day correctly.)
- Next Full Moon: Oct 31, 2020
- If the above date has passed, this page is out of date and needs to be updated! (Like now, hopefully i'll get to this soon. Would be easier with https://www.mediawiki.org/wiki/Extension:Variables.). In that case, the info below will be incorrect.
Day | Moon phase |
---|---|
Today GMT (Sat, 2024-Nov 23) | Waxing Gibbous |
Tomorrow (Sun) | Waxing Gibbous |
In 2 Days (Mon) | Waxing Gibbous |
In 3 Days (Tue) | Waxing Gibbous |
GMT
Current testing seems to indicate the game uses GMT for moon phase. (This is to say that, while the game's date changes at midnight server time (EST), it is the date of the full moon in GMT that determines moon phase. For example, if the full moon lands on January 20 1AM in GMT (late on Jan 19 in server time), the dates of the full moon in-game will be Jan 19-21, not Jan 18-20).
- 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