nmea(4) Implementation details Look at the received NMEA stream and decode the $GPRMC message Calculate the offset between the local time and the time received A small problem: Exactly when was the time just received valid?