How long were Adam and Eve in the Garden of Eden?
Genesis does not say. The Book of Jubilees answers: exactly seven years. Adam and Eve tilled and kept the garden for seven years, and the serpent tempted them on the seventeenth day of the second month of the eighth year.
The Book of Jubilees (chapter 3) retells Genesis with a precise calendar. Adam was created in the first week and Eve taken from his rib in the second; the angels brought them into the garden, Adam after forty days and Eve after eighty, and the book links these numbers to the purification laws after childbirth in Leviticus 12.
There they worked for seven years, while the angels taught Adam to till the ground.
When the seven years were over, the serpent came near the woman. After the transgression, Adam and Eve left the garden and went to live outside it, and Adam started to till the ground as the angels had taught him.