Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.