Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to create a text variable that has a date in the future calculated from today's date?

What I need is: Todays date + 1 month.

I know you can have text variables with the output or modification date but I haven't been able to find a way of doing "math" on a variable.

share|improve this question
up vote 1 down vote accepted

Changing the - to a + in line 5 (setMonth(getMonth()-1)) of this script should do what you need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.