As per Section 31(2) of the Consumer Protection Act, 2019, a complaint must be filed within two years from the date on which the cause of action has arisen. This time limit is set to ensure timely resolution of consumer disputes. If a complaint is filed after the prescribed period, it may be dismissed unless the complainant can provide sufficient cause for the delay.