Antibiotics for uti

Got prescribed antibiotics to treat my UTI (yaaaay ... 🙄), and I have to take it twice a day for a week. Would the antibiotics still be effective if I take them 10-15 mins early or late? I would be bringing them to work and I plan on taking them 11:30-45 AM/PM.