Uses argarse facilities for type handling.

This allows cleaner program termination when the date
format can't be handled.