Most states have a declaration of parentage form that can be filed by the parent with the state agency that handles vital records or it can be a court ordered paternity adjudication. I've never heard of a time limit. Call the vital records office for your state to get the exact procedure.