Show last GPS lecture on this project

And by hour, I guess you actually mean time ie (HH:MM:SS.sss).
If you require a complete timestamp with your readings (as appears it appears from your code), you could also use the GPS clock simply to synchronize the Arduino internal time, and then use that [Arduino clock] for your measurements instead of relying on sporadic readings from the GPS to coincide with your photocell beam break events.