Hi garfolino,
This looked interesting, so I took a shot.
Basic algorithm: have a ‘from’ date that increments in units of time larger than 1 (I picked 10 for my example), while the ‘to’ date starts from the ‘from’ date + a number of days less than that unit of time.
Here is a working example: Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel
There are a number of ways to improve this (for example, using now() - 200 (or more) days for the starter date, randomizing the # of days for the block (10) using a Formula calculation random(min, max)
and then calculating the __numdaysopen to be 2 less than that, etc.), but I’ll leave that as an exercise for the reader - this should be enough to get you started…assuming you still need it.
HTH,
Paul