It’s true that adding “a month” to a date isn’t a well-defined operation. There is a technique you can use in SenseTalk though that will at least make it easy to do. Whether it will give you the result that you want in the difficult cases is for you to decide. But it will at least take care of the easy cases, and make the decisions for you in the tough ones.
This approach takes advantage of the “dateItems” format, which is a comma-separated list of numbers beginning with the year, month, and day:
put the dateItems -- shows the current date in dateItems format
You can convert any date to this format, change any of the item values by adding or subtracting any amount, then convert it back to a different date format. When converting a comma-separated set of values back to a date, SenseTalk will do its best to make sense of what’s there and do something reasonable. So month 13 becomes January of the following year, etc.
For your example, it would look something like this:
put "1/2/2013" into issueDate
convert issueDate to dateItems
add 1 to item 2 of issueDate -- add 1 to the month item
convert issueDate to long date
Instead of “long date” in the last line you can specify “date” or any of the dozens of other date formats that SenseTalk knows. Or use the formattedTime() function to convert it to any format you like.