How to Increment/Decrement a Date?

The macro at the start of the thread just runs some tests on a literal date.

First try this one with a fixed date string (and the increment +1), and then experiment with:

  • capturing new date strings to the clipboard
  • adjusting the positive or negative integer value testDelta (to increment or decrement in units of one day)

Single adjustment of one date.kmmacros (19.7 KB)