Mike gave an excellence link below and worth looking into for further assistance.
Here is the time-line I kind of summarized it a bit for his benefit:
1. End of 3rd day, landlord can start the eviction process
2. Landlord can file a Unlawful Detainer Lawsuit and it may take any where between 5-20 days for court date
3. Landlord win case , court will issue a writ of possession, and he has 5 days to move
4. If he does not leave by the end of the fifth day, the writ of possession authorizes the sheriff to physically remove and lock the tenant out, and seize (take) the tenant's belongings that have been left in the rental unit.
Or he can talk to Apartment Manager and tell them that he is moving and may take a bit longer than a few days. I am sure they will accommodate his request to avoid a court cost on their side and an eviction record on his side. Personally, I think he has 15 days top. Good luck !
here is the link for details: http://www.dca.ca.gov/publications/landlordbook/evictions.shtml