Proceedings to establish the paternity of the child may be instituted during the pregnancy of the mother or after the birth of the child. For purposes of establishing a duty to pay support or past support, the proceedings must be instituted before the child's eighteenth birthday.