Do not assume bash path
Drop extraneous spaces in adjusted date
Suppress stdout when attempting to determine date version.
Fixed a few bugs in BSD date operations.
Update unit test to work with BSD date.