Syncing time to Pi Zero

Hello,
I am dabbling with implementing a Raspberry Pi Zero as a companion to a Cube.
Is there a way to update the time on the Pi Zero through the Cube (which it obtains from the GPS module)?

If so, what needs to be done?

Thanks in advance for your hints!

P.S.: I have found an instruction for ROS, but not for the Pi.