misc error handling. dates printed with --date-fmt formatting