On Mon, 31 Jan 2011 18:59:10 +0100 Jens Mueller <[email protected]> wrote:
> Suppose I have > rem 10 jan 2011 *1 +14 msg [magic_function()] Do this %a > rem 2 feb 2011 *1 +14 msg [magic_function()] Do that %a > magic_function should compute the difference between the date given in > the rem command and now in days. There's no way to get at the "10 jan 2011" part of the REM command because the *1 ensures that trigdate() will always be today (or in the future.) You'll need something like this: REM 10 Jan 2011 *1 +14 MSG ['2011-01-10' -today()] Do this %a REM 2 Feb 2011 *1 +14 MSG ['2011-02-02' -today()] Do that %a Ugly... but it works. Regards, David. _______________________________________________ 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
