How do I enable the ZDA NMEA sentence?

The ZDA sentence is a good sentence to use to get the date and time.

It can be enabled by sending a UBX command to the GPS module;

echo -e -n "\xB5\x62\x06\x01\x08\x00\xF0\x08\x00\x01\x00\x00\x00\x00\x08\x60" > /dev/serial0

Below is where it can be found in uCenter.UBX->CFG->MSGuCenter ZDA

ZDA Format

hhmmss HrMinSec(UTC)
dd,mm,yyy Day,Month,Year
xx local zone hours -13..13
yy local zone minutes 0..59
*CC checksum


The UBX protocol is documented here.