In Californiastan landlord has 14 days to settle up the security deposit and mail refund to previous renter.
14 days is just plain not long enough. As a landlord, I have to schedule carpet cleaning, painting, plumbing repairs, and handyman work. Just getting each one of these people out to look and give an estimate can take 7-14 days, plus the time for actual repairs before the real cost is known.
In my state, we are allowed 31 days and that is cutting it short sometimes.
In one recent instance, I had a Section 8 tenant who left $8000 worth of damage in a unit that rented for $1200/month. There was only a $1200 deposit. From now on, Section 8 is going to indemnify me for any possible damages or I will not place their people.
The woman has no job, no assets, and went back to live in her mother's basement. I can get a judgement, but it is not collectible.