Modem date/time

Hi,

I am using an old version of nrfConnect, v1.2.1 ( I know it is preferred to upgrade but that is not an option for me)

I am getting the time from the modem using modem_info_string_get with MODEM_INFO_DATE_TIME and have some questions:

Here is the response I get using modem_info_string_get:

24/04/19,18:50:33-20dy

1)What is the '-20dy' portion represent?

2)Is there way to retrieve the modem time in seconds since epoch?  Or do I have to get is as a string and parse it?

3)Is the format and string length always the same regardless of the date / time?

4)How / when does the modem time get updated?  Is there a way to know how recently updated it is and tell it to update if it is too old?

Thanks

Parents Reply Children
No Data
Related