Avoid using the date command.

Avoid using the date command where possible as it causes issues with
portability. Users of other systems can override the variable defaults
to specify their own programs.
Optional configuration file.
Tests for config file.