sanity check for input times