[Remind-Fans] second friday with date range

Tim Chase remind at tim.thechases.com
Thu Dec 28 18:49:27 EST 2023


On 2023-12-28 17:46, Remind list wrote:
> I think this is unambiguous and should be allowed:
> 
>     REM SECOND FRIDAY Feb  9 2024 UNTIL Apr 12 2024
> 
> It gives:
> 
>     foo(1): Day specified twice
>     No reminders.
> 
> Of course I don't care about the days and really want to say just this:
> 
>     REM SECOND FRIDAY Feb 2024 UNTIL Apr 2024
> 
> but I get:
> 
>     foo(1): UNTIL: Incomplete date specification
>     No reminders
> 
> You know what I want.  Is there a better idiom for specifying "second
> friday" within a date range?

I think all you're missing is a FROM.  This seems to do what you want:

  REM SECOND FRIDAY \
	FROM Feb 1 2024 \
	UNTIL Apr 30 2024 \
	MSG thing

(you can tighten those dates to the 9th & 12th, but I'm partial to
not thinking, so 1st & 30th work for me :-)

-tim







More information about the Remind-fans mailing list