When Adam had lived 130 years, he fathered a son in his own likeness, after his image, and named him Seth. 4 The days of Adam after he fathered Seth were 800 years; and he had other sons and daughters. 5 Thus all the days that Adam lived were 930 years, and he died.
So Adam lived for 930 years. Other people before the flood also lived for extraordinary lengths of time. (See this answer for further details.
There is nothing to suggest that these years were any different from our years. The time for the earth to go around the sun appears to have changed very little over time. It seems that God allowed people to live longer before the flood, but now limits us to a much shorter life expectancy.