Comic books take place in a very short amount of time, usually one day or less. And each comic ends with a cliffhanger that leads directly into the next one.
So if one comic equals one day, the 900 issues of Action Comics took place over 900 days, which is only two and a half years. And then there's a few time jumps like "One Year Later" after Infinite Crisis to add in as well.