46 complete days since the LMP
- Input
- 46 dias completos
- Expected output
- 6 semanas e 4 dias de gestação (1º trimestre)
Integer division of 46 by 7 gives 6, with a remainder of 4: those are the extra days shown under the week count. Since the total is under 98 days, the trimester shown is the first.