>On Mon, 12 Jul 2021 13:40:32 -0500 >Tim Chase via Remind-fans <[email protected]> wrote: > >> Over on Mastodon I was recently asked how to put an event on "every >> other weekend". This is what I came up with: > >> REM Sat Sun SATISFY ((abs($T - date(2021,7,10)) % 14) < 2) >> IF trigvalid() >> REM [$T] MSG Every other weekend >> ENDIF > >That works, but I'd write it more succinctly as: > >REM Sat Sun FROM 2021-07-10 SATISFY [(($T - '2021-07-10') % 14) < 2] MSG Every > other weekend
Is there a reason why we're avoiding rem 21 jan 2020 *14 msg Every other Tuesday (That's not a weekend, but the same construct should work on a Saturday or a Sunday.) --hymie! _______________________________________________ Remind-fans mailing list [email protected] https://dianne.skoll.ca/mailman/listinfo/remind-fans Remind is at https://dianne.skoll.ca/projects/remind/
