input check for excess length and illogical dates