On Wed, 4 Jan 2017 12:10:04 -0400
Scott Hatcher <[email protected]> wrote:

> So, for instance, if we have a deadline of 2017-01-01, and we call
> the new substitution "%B", the reminder would look like:

> REM 2017-01-01 +45 MSG Deadline: ABC report due in %B working days

Oh, that's a piece of cake.

REM 2017-01-01 +45 MSG Deadline in [nonomitted(today(), $T, "Sat", "Sun")] 
workdays



You can tidy it up a little with:

FSET workdays(x) nonomitted(x, $T, "Sat", "Sun")

...

REM 2017-01-01 +45 MSG Deadline in [workdays(today())] 
[plural(workdays(today()), "workday")]

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to