Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I'm trying to figure out how to add a variable to today's date in Keyboard Maestro. Can anyone help? Here is a screenshot of my current attempt -

As an example of what I'm trying to achieve, I want to be able to type '2' into a variable prompt, and have Keyboard Maestro spit out the date of two days from now.

share|improve this question

Use a shell script to execute the date command:

date -v +${KMVAR_Required_in_X_Days}d "+%Y-%m-%d"

man date in the Terminal for information on the date command man strftime in the Terminal for information on the output formats

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.