The GPS receives the current GMT time from satellites and sends that data to the PIC. The PIC then offsets this by a timezone value stored in NVRAM. Alarm time is also stored in NVRAM. At power up ...