In the state of California you are not required to obtain a pistol permit. The application processes to purchase a handgun will take no more than ten day.
Getting a permit is a process of doing a thorough background check to ensure that you have no criminal history. It will take as long as it takes to get that information, usually two weeks or so.