The animation style if I remember right is similar to early to mid 2000s.
This boy travels through time and makes these stops as if going to all the different stages in the Earth's life. I believe he is unable to go back for some reason and he may have someone else with him. I know for certain of two times he travels through time: once to when Earth is in an ice age, and another that's so far in the future the humans are unrecognizable as human.
In the ice age one, I think the boy is panicking about how cold it is and wants to go forwards in time.
In the far-into-the-future-part, the Earth is a desert wasteland with nothing in sight besides the last human settlement. He makes friends with the future humans and gets help going back in time.
I watched this around 2011-2012. Would've been on Netflix or YouTube cause that's all I had access to at that time. I've asked about this so many times on different websites and people, hopefully someone here knew what I'm talking about!