Say you have a function that takes a single argument like this:
// return a string date that is "n" days before "right now"
function backInTime(n) {
return subtract(new Date(), n, 'days').toString();
}
So if you call this (on Thurs, Feb 22) a few times in a row (pretending each one takes a full second to run) you would get: