Depends on whether it is contested and the reasons its being sought, but in all likelihood several months.
This response is not intended to create an attorney client relationship and is based on the limited information available at the time of the response. Before acting on anything stated or referenced in this response you should consult with an attorney of your choosing and go over the specific details of your legal circumstances.
If it is contested it could take several days of testimony. If it is not contested and you can show that you can care for yourself one court date.