[REBOL] Re: add/subtract with date!
From: t_degrav:rhrk:uni-kl at: 14-Nov-2000 12:52
Thanks, Kim, Anton,
> Jim Goodnow II wrote:
> > Try:
> > date/month: date/month + 1
> > Hope this helps.
> > - jim
> There is a problem with subtraction.
> >> date: 14-Jan-2001
> == 14-Jan-2001
> >> date/month: date/month - 1
> == 0
> >> date
> == 14-Apr-23846
That's only part of the problem...
Jim's solution does look very simple, but it doesn't work at all:
>> date/month: date/month + 1