Print an error message if the time struct is faulty