Can a UTI disrupt your cycle?

Sydney
I usually have a 33 day cycle that lasts 5 day's. Last month I got a UTI that I'm still taking antibiotics for and my period has been off and late these past 2 cycles. Very aggravating when TTC. Has this happened to anyone?