[Remind-Fans] Can Someone Double-Check Me on These 'Remind' Expressions?

Paul Pelzl pelzlpj at eecs.umich.edu
Wed Aug 16 14:44:29 EDT 2006


On Wed, Aug 16, 2006 at 02:14:36PM -0400, Paul Pelzl wrote:
> On Wed, Aug 16, 2006 at 12:35:19PM -0400, Mike Harris wrote:
> > Payday case #1:
> > If the 14th of the month is not a Saturday or a Sunday, payday.  If it is, the preceding workday.
> 
> REM 14 OMIT Saturday Sunday BEFORE MSG Payday %b.%
> 
> 
> > Payday case #2:
> > If the day *before* the last day of the month is not a Saturday or Sunday, payday.  if it is, the preceding workday.
> 
> REM 1 --2 OMIT Saturday Sunday BEFORE MSG Payday %b.%
> 
> In this case you need to use "--2" so that Saturdays and Sundays are not
> skipped when counting back to the second-to-last day of the month.

To either of these, you can add a "+2" if you want your two days' advance
warning to be shifted to weekdays, or "++2" if you want your advance
warning to always occur on the two days prior to the payday.

Paul





More information about the Remind-fans mailing list