Weeks lived is the number of days since your birth date, divided by seven, without the remainder. Weeks until your chosen age counts the days up to that birthday and rounds a started week up. Leap days are included.
A year has 52 weeks and one or two days. The grid starts a new row on each birthday, so the last box of every row takes those extra days. That is why the number of gold boxes can be a few lower than the number of weeks lived.
If you were born on February 29, your birthday counts as March 1 in other years. If you are past the age you picked, every box is gold and the text says how many weeks came after.
The picture you save is drawn on your own device, with your numbers on it and a small web address at the bottom. Your birth date is not in it.