[Remind-Fans] date substitution
Tarlika Elisabeth Schmitz
remind at numerixtechnology.de
Thu Mar 13 11:01:41 EDT 2008
Ah - Canada is getting up ...
Good morning!
On Thu, 13 Mar 2008 10:42:22 -0400
"David F. Skoll" <dfs at roaringpenguin.com> wrote:
> Tarlika Elisabeth Schmitz wrote:
>
> > I also created a variable for convenience:
> > SET by "by %w %d%s %m %y"
> > MSG %"make dental appointment %" [by] %
>
> > 1) how can I achieve that the date is replaced by
> > "today"/"tomorrow" on the trigger day and the day before
> > respectively?
>
> You can make it a function. Something like this (see the man page for
> the "choose" built-in function):
>
> FSET by() choose(trigdate()-today()+1, "today", "tomorrow", "by %w
> %d%s %m %y")
How ingenious!
> > As an aside: After the trigger day (if using *1), %u displays
> > "today". I would find it more useful if it showed the date, and
> > maybe even yesterday on the day after.
>
> Remind does not handle substitution for days *after* the trigger date;
> that would be a big change. I can look into it, though.
I just thought it would be good to be aware of missed appointments,
such as "Tax return due yesterday" followed by an if late then £100
penalty message. ;-)
--
Best Regards,
Tarlika Elisabeth Schmitz (Scotland)
More information about the Remind-fans
mailing list