Fixes #4968: Adapt "/bin/date" options to support all OSes - implementat...

...ion