Night weaning

Has anyone night weaned their baby from feeds? I really want to do it, but I’m scared I won’t be able to settle him without the bottle. What age did you do it and how long did it take? So you still give a bottle before bedtime and then around 5am in the morning? Thanks