How does glow know ?

Tammy
Okay ladies for the most part my period is around 27 days but the last few months it's been kinda off last month 27 days but the month before that 33 day I thought j was pregnant. Now this month is say my period is due on the 30th day. How does glow know wen my period is going to change?