The time range??

I just started birth control this month, I’ve decided to take it @9pm every day it’s the the time of day that works best for me. I was just curious on the time range on taking it? Like how many hours before or after your decided time would making the birth control not effective? If that makes sense.