added more detailed explanation for invalid time arguments