# Logged different time on WP7702

**URL:** <https://mangoh.discourse.group/t/logged-different-time-on-wp7702/9244>\
**Category:** mangOH Red\
**Created:** [May 28, 2021, 2:24am UTC](https://mangoh.discourse.group/t/logged-different-time-on-wp7702/9244 "2021-05-28T02:24:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [May 28, 2021, 2:24am UTC](https://mangoh.discourse.group/t/logged-different-time-on-wp7702/9244/1 "2021-05-28T02:24:01Z")

</div>

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:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/4/426cfb43ae214ab4c713672d94e9d4ec4c78e7e2.jpeg)

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [May 28, 2021, 2:31am UTC](https://mangoh.discourse.group/t/logged-different-time-on-wp7702/9244/2 "2021-05-28T02:31:42Z")

</div>

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
```

---

<div class="post-metadata">

**Author:** ![jeremyzhang](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jeremyzhang](https://mangoh.discourse.group/u/jeremyzhang)\
**Post date:** [May 28, 2021, 2:52am UTC](https://mangoh.discourse.group/t/logged-different-time-on-wp7702/9244/3 "2021-05-28T02:52:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [May 28, 2021, 3:03am UTC](https://mangoh.discourse.group/t/logged-different-time-on-wp7702/9244/4 "2021-05-28T03:03:16Z")

</div>

you can try the clock API here:  
[https://docs.legato.io/latest/le\_\_clock\_8h.html](https://docs.legato.io/latest/le__clock_8h.html)
