Today at work I needed some code to Add “x” months to a given date. System.AddMonths looked like the kind of thing I was after but I needed it implemented in clarion code.

Not hard but nice to have.

Thanks Mark for the assistance!

Some examples:

  1. 05-Oct-2009 + 1 Month = 05-Nov-2009
  2. 31-Oct-2990 + 1 Month = 30-Nov-2009