Previous Date Variables - Best Way?

Unless you need to use a Shell Script for other reasons, the easiest way is to use the built-in KM tokens for ICU Date/Time.

See Dates and Times [Keyboard Maestro Wiki]

1 Like