Perform calculation on variable

I have a variable Timestamp, which contains a number such as 2343. I want to minus 2 from that number so that variable Timestamp holds 2341. How would i do this?

Very easy. See Set Variable to Calculation action.

Getting Started with Keyboard Maestro

For more help, see Getting Started with Keyboard Maestro and the Forum .