[Remind-Fans] Moon Phases and Public Holidays for Queensland, Australia

David Jackmanson david at djackmanson.com
Sat May 5 08:03:17 EDT 2012


Hi,

I use Remind with rem2html to publish a web calendar on my server so I
have web access to it. At the moment the web calendar is the only way I
read my reminders.

I've just spent an hour and a half struggling with getting the moon
phases to display on the calendar, and finally got it right. Apologies
if this is considered trivially easy, but I thought I'd post it here
because I couldn't find these instructions anywhere else.

I'm also posting my Remind commands to display public holidays in
Queensland, Australia. The commands include the actual day of the event,
and the public holiday for that day when the holiday is moved to a
weekday to ensure a long weekend.

Please feel free to include these in the wiki if they are useful. (I
lifted the Easter calcuations from the wiki, too)

David Jackmanson

#Moon Phases

SET newmoondate = [moondate(0)]
IF today() == newmoondate
MSG New Moon
ENDIF

SET firstquartermoondate = [moondate(1)]
IF today() == firstquartermoondate
MSG First Quarter
ENDIF

SET fullmoondate = [moondate(2)]
IF today() == fullmoondate
MSG Full Moon
ENDIF

SET lastquartermoondate = [moondate(3)]
IF today() == lastquartermoondate
MSG Last Quarter
ENDIF

#Queensland Holidays
REM Jan 1 New Year's Day
REM Jan 1 OMIT Sat Sun AFTER MSG Public Holiday
REM Jan 26 Australia Day
REM Jan 26 OMIT Sat Sun AFTER MSG Public Holiday
# Easter
SET easter EASTERDATE(YEAR(TODAY()))
OMIT [TRIGGER(easter-2)] MSG Good Friday
REM [TRIGGER(easter)] MSG Easter Sunday
OMIT [TRIGGER(easter+1)] MSG Easter Monday
REM April 25 Anzac Day
REM Mon 1 May Labour Day Public Holiday
REM June 11 2012 Queen's Diamond Jubilee Public Holiday
#In 2012 the Queen's Birthday Holiday in Queensland was moved from the
second Monday in June to the first Monday in October. However an #extra
public holiday was approved that year, the Queen's Diamond Jubilee, on
that second Monday in June.
REM Wed 1 Sep -21 Ekka Day Public Holiday
REM Mon 1 Oct OMIT Sat Sun AFTER MSG Queen's Birthday Holiday
REM Dec 25 Christmas Day
REM Dec 25 OMIT Sat Sun AFTER MSG Public Holiday
REM Dec 26 Boxing Day
REM Dec 26 OMIT Sat Sun Mon AFTER MSG Public Holiday


More information about the Remind-fans mailing list