I did the math for that one, though not exactly for an airplane, but for a boring land vehicle (think Ford Traffic). I assumed futuristic photovoltaics with 40% efficiency, a factor of 0.7 to account for angle-of-incidence inefficiencies, pretty much all of of the van covered in panels, for an area of about 16 square meters, similar to the wing area of a glider Schleicher ASW 22 (I couldn't find the wing area of a Cessna 172).
The result I get is somewhere from 3 to 8 kilowatts. A quick search in the Internet shows that a typical car has engine power starting at 130 horsepowers, which is 95 kilowatts. A van the size of a Ford traffic probably uses twice as much, and the Cessna uses 132 kilowatts.
So, no, I don't think we are getting aviation as it exists today with solar panels and batteries, but one hour twenty minutes in good weather will be enough for some recreational pursuits.
I also did the math for sailplanes with solar panels. That looks better, if all you are looking for is activating the propeller for a small fraction of the total flight time, or having an aircraft that can go very slow (that, in fact, has been done). I'm just an amateur, but my opinion is that, without solving the energy density issue, about 98% of the aviation we enjoy today will be gone.