Under section 119 of the Civil Procedure Code, a defendant generally has 21 days from service of the summons, excluding the legally allowed travel period, to file the written defence unless another provision applies.
Missing this deadline can seriously affect the defendant's ability to contest the claim.