Closed poberth closed 3 years ago
I do not if anybody (I use in N2k) uses time_t variable, but there is ready function to convert separate to time_t. Then you could have method: bool NMEA0183ParseZDA(const tNMEA0183Msg &NMEA0183Msg, time_t &DateTime, int &Timezone); where Timezone would be in seconds and one could directly add it to time_t.
Added tZDA struct and NMEA0183ParseZDA functions