I'm trying to comvert 1,000,000,000 seconds to years.
Can anyone give me the conversion formula.[/list]
Anonymous wrote:86400 s per day.
Years become the tricky part, and you may need to consider four possible numbers.
*Every year has either 365 or 366 integer days exactly
*Four year periods have 1461 days (365.25 days per year average), unless you cross one of those Gregorian centuries
*400 year Gregorian periods have 146097 days (365.2425 d/year average)
First pass, I'd use 365.25 days/per year and get 31.688 years.
If you want to go beyond that, you'd have to look at the starting date and consider the details of when leap years occur.
If I suspected over 100 years, I'd use the Gregorian average, 365.2425 days.