[REBOL] Re: add 1 month to date
From: lmecir::mbox::vol::cz at: 3-Apr-2003 13:05
Hi Mark,> I am sure it is a simple question but some how I could not figure it out. How > do you add 1 full month to the date variable. Example: > > a: 15/3/2003 > > how do you add 1 month to "a" so that a becomes 15/4/2003? Add 31 days > can't do as some month has 30 and 31 days. Thanks.how about: a/month: a/month + 1 HTH -Ladislav