birth control.. what's on time?

nat
i started taking the pill and i have nights where i'm not home exactly when i usually take it (10:15-10:30) and i take it closer to 11 and one night recently i took it at 12 because i almost forgot. what is considered taking it at the same time everyday? from my incident i mentioned, could that have messed me up?