What time?

Kate

I’m on the pill to prevent pregnancy, and I’ve always taken it sometime in the morning, between 6-10am. My friend recently told me you have to take it within the same hour each day for it to prevent pregnancy. Is this true?