On 2025-06-07 13:06, Remind list wrote:
> I'll expand on why this doesn't work.  The key thing to note is this:
> Given a weekday $W, every month has a first, second, third, fourth and
> last $W, but not every month has a fifth $W.

Hrm, I tested the positive cases but forgot to test the negative cases.

Doh!  Glad you caught it.


> In fact, the only way to express "the fifth Tuesday in June" is with
> a SATISFY clause.  At least, it's the only way I can think of to do it:
> 
> REM Tuesday June SATISFY [$Td >= 29] MSG Fifth Tuesday in June

Sounds good.  Ended up with

 REM Wed SATISFY [$Td >= 29] MSG fifth Wed

which does meet expectations.

Thanks!

-tim
-- 





_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to