Gestational Week

$$Week = \lfloor\frac{today - LMP}{7}\rfloor$$

Try This Formula