Making date input more flexible

I asked Rocco to cross post. The thought was that maybe some discussion can help evolve his SuperTool script and make it more easily adapted by the next user.

The particular problem he describes is usually short-lived. So the first person makes a broad hack at a resolution, manually tweaks the results and never thinks about the issue again. The motivation to improve the script is gone.

The next person puzzles out what was done, adds some comments where it was confusing, makes the code a bit more flexible to address their problem and, again, moves on.

So, by sharing the evolution, we might have an increasingly capable script where there are only surges of motivation.