AF arrival date

T
My cycle has been 39 days for the last two months but Glow keeps saying it will come on day CD 31 ... Would I be late on CD 32 or CD 40?? This is so confusing but I don't want to test to early