Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] add 1 month to date

From: mark:jobstreet at: 3-Apr-2003 17:58

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. Mark Chang - [mark--jobstreet--com] Founder of JobStreet.com, www.jobstreet.com 250 Tanjong Pagar Road #11-01 St Andrew's Centre Singapore 088541 Fax: 65-6538 0090 Tel: 65-6538 0060 #1 Ground Floor Office, Equatorial Penang, 1 Jalan bukit Jambul, 11900 Penang Malaysia. Fax: 604 643 6461 Tel: 604 644 5912