On Thu, 18 Sep 2008 20:05:50 +0200 Guido Arnold <[EMAIL PROTECTED]> wrote:
> > SET doy today() - date(year(today()), 1, 1) + 1 > > SET wholeWeeks = (doy-week1)/7 > > SET daysLeft = iif(doy > week1, doy-week1-7*wholeWeeks, 0) > > msg Week = [wholeWeeks + sgn(daysLeft) + sgn(week1)] > > I see how it should work, although my version (03.00.24.) complains > "Illegal character `='", but I guess that's because I am using an > older version? Probably, I just pasted the above back in and it worked. I'm using version 03.01.05. Given the complexity of the calculation maybe it's something remind will grow a function for... I suppose a %substitution letter would be good to, although the alphabet seems to be filled :-} Cheers -Terry _______________________________________________ Remind-fans mailing list [email protected] http://lists.whatexit.org/mailman/listinfo/remind-fans
