%nextfullmoondate%

Hi Brian,

The %nextfullmoondate% tag is giving me fits again. Here on the US east coast is returning April 30th when is should be April 29. Is there a way to fix it? It’s raising issues with my full moon script.

$fullmoondate = ‘March 31 2018’; // Date of the next/last full moon (date only)
$nextfullmoondate = ’ April 30 2018’; // Date of the next full moon (date only)

b56 on win7

Thanks!!
Roger

I show april 30 there
which is what shows on my wall calendar too
are you sure april 29 is correct?

the problem looks to be for when you are west of UTC
see
https://www.space.com/16830-full-moon-calendar.html
it shows for UTC (i.e for all places east of that), its 30 april
but note the utc time is close to midnight
but for usa its 29 april

i.e so WD is providing the date for UTC date
i could look at coverting it to local date

try this update
http://www.weather-display.com/downloadfiles/weatherdisplaytest.zip

Thanks Brian, I’ll try it tomorrow. Next full moon is something like 8:30 PM, 4/29 here on the US east coast.

Hi Brian,
I did get to use new zip file last night. I’m not sure what you did as %nextfullmoondate% still returns April 30 however I did notice %nextfullmoon% on your latest taglist.txt file, which apparently has been around awhile. I didn’t have that tag loaded on my testtag.txt file. I put that on my testtag file which returns 00:59 UTC April 30 2018 which works fine for my purposes. It may have been working prior but I never noticed that tag.
As always, thanks for all your attention!!
Roger

those 2 tags have the same source
the date one just removes the time part

At least with the time I can use strtotime to correct for the different time zone.

$nextfullmoon = ‘00:59 UTC April 30 2018’; //Date/time of the next full moon
$nextfullmoondate = ’ April 30 2018’; // Date of the next full moon (date only)

date(“M j, Y” , strtotime($nextfullmoon)) = April 29, 2018