Read the current epoch time from the GPS.
GPS.getTime()
None.
The current epoch time from the GPS.
// Check if there is new GPS data available
if (GPS.available()) {
// Read GPS values
unsigned long epochTime = GPS.getTime();
// ...
// Print GPS data
Serial.print("Epoch time: ");
Serial.println(epochTime);
}