How long does it take to finalize custody of a child?

For those of you who filed for child support and whatever amount of custody of your child how long did the process take?