Logged different time on WP7702

Hi,

I’m writing a Legato app which requires accurate real time as local time. However, I looked at the device log, and noticed that the device logged time from two different time zones in a SINGLE app:

that 12:48:55 matches the time where I live, how could I fix this?

I think it will save the log of previous boot up session:

May 26 11:32:53 swi-mdm9x28-wp user.err time_daemon_mdm:[653]: genoff_modem_qmi_service_request: Updating system time to sec=315964825, usec=352000
Jan  6 08:00:25 swi-mdm9x28-wp user.err time_daemon_mdm:[653]: genoff_modem_qmi_service_request: Local Genoff update for base = 1 , rc = 0

which legato API allows me to read date in legato app?

you can try the clock API here:
https://docs.legato.io/latest/le__clock_8h.html