ConvertGPSTimestamp
Syntax
void convertGPSTimestamp(dword timestamp, dword& year, byte& month, byte & day, byte & hour, byte & minute, byte & second);
Function
Converts a GPS time stamp into UTC based date and time information.
Parameters
timestamp The GPS time stamp (seconds since 1970-01-01 00:00).
year Receives the year of the time stamp.
month Receives the month of the time stamp (between 1 and 12).
day Receives the day of the time stamp (between 1 and 31).
hour Receives the hour of the time stamp (between 0 and 23).
minute Receives the minute of the time stamp (between 0 and 59).
second Receives the second of the time stamp (between 0 and 59).
Return Values
—
—
getGPSTimeString