date_to_epoch now returns the error message
fixed warning about start time in end block
wrong logic in  if statement
fixed error handling in date_to_epoch
die when a line is not parsable
read from stdin when filename is '-'