[Remind-Fans] UK Christmas bank holidays

David F. Skoll dfs at roaringpenguin.com
Tue Jan 6 21:53:36 EST 2009


Tarlika Elisabeth Schmitz wrote:

> We always get 2 bank holidays regardless on which day Christmas falls:

[...]

So, if Christmas falls on a weekday, you get that day off plus the
next weekday.  And if it falls on a weekend, you get the following
Monday and Tuesday off.  Correct?  So... this should work:

#========================================================================
REM 25 Dec SCANFROM [trigger(today()-7)] OMIT SAT SUN AFTER SATISFY 1
OMIT [trigger(trigdate())] MSG Christmas Bank Holiday

REM 26 Dec SCANFROM [trigger(today()-7)] OMIT SAT SUN AFTER SATISFY 1
OMIT [trigger(trigdate())] MSG Boxing Day Bank Holiday
#========================================================================

Be careful... they have to appear in exactly that order, because if
Christmas falls on a weekend, then the first OMIT sets the stage for
the Boxing Day bank holiday moving to the Tuesday.  Yes, it's tricky...

Regards,

David.



More information about the Remind-fans mailing list