displaying a message if time is invalid, workout