Giving a specific time is very difficult, since it will depend on the dog’s experience, age, etc. But you don’t have to hurry, or force him to do things he doesn’t want to. Let him set the times and he will progressively adapt best family pets.
Above all, for those dogs or cats that have spent some time in a shelter and have had previous traumatic experiences, the change will be more abrupt. So this is a vital period for building trust, so don’t nag him and learn to communicate with your new friend.
If the adaptation is being a little more complicated, you can use pheromone diffusers. They will help them be calm and feel safe in their new home.