[Remind-Fans] 5th friday of month

2013-07-31 Thread Russell Shaw

Hi,
In a Remind file (test) i have:

  REM FRI 29 MSG 5th-friday


when i run remind -c test, i get an entry on the 2nd and 30th.

(today is thursday 1-aug-2013)
___
Remind-fans mailing list
Remind-fans@lists.roaringpenguin.com
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind


Re: [Remind-Fans] 5th friday of month

2013-07-31 Thread David F. Skoll
On Thu, 01 Aug 2013 08:45:52 +1000
Russell Shaw rjs...@netspace.net.au wrote:

REM FRI 29 MSG 5th-friday
 when i run remind -c test, i get an entry on the 2nd and 30th.

Indeed, because FRI 29 means the first Friday on or after the 29th
of a month.

For the 5th Friday (only) you want:

REM Fri 29 SATISFY [$Td = 29] MSG 5th Friday

If your Remind is too old to support $Td, you can use the equivalent:

REM Fri 29 SATISFY [day(trigdate()) = 29] MSG 5th Friday

Regards,

David.
___
Remind-fans mailing list
Remind-fans@lists.roaringpenguin.com
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind