[Remind-Fans] How "second Thursday of every month, starting with May 2006, ending Sep 2009"?

Paul Pelzl pelzlpj at eecs.umich.edu
Fri May 5 00:36:06 EDT 2006


On Thu, May 04, 2006 at 05:21:20PM +0200, Wolfgang Kroener wrote:
> Hi,
> On Wed, Apr 26, 2006 at 11:33:01, Mark Atwood wrote:
> > the the problem with that, is that it's the second Thursday of *every* month,
> > from 1990 to 2020.
> try (May 1990 until Sep 2020):
> 
> fset from_m_y(month,year) [(monnum(trigdate()) >= month) && \
>                            (year(trigdate()) >= year)] 
> rem thu [8] until 30 sep 2020 satisfy [from_m_y(5,1990)] msg something

Or slightly more compact, using a date constant:

   REM Thu 8 UNTIL 30 Sep 2020 SATISFY [trigdate() >= '1990-05-01'] MSG something

Paul





More information about the Remind-fans mailing list