How to retrieve the actual timezone from the network

Juan A. Rubio jarubio2001 at gmail.com
Fri Sep 3 08:31:24 UTC 2021


Hi,

I'm trying to find a way to retrieve the network time and the actual
timezone string from the network via Modem Manager.

$ mmcli -m 0 --time
  -------------------
  Time     | current: 2021-09-03T10:26:33+02:00
  -------------------
  Timezone | current: 120

I can get the time and the timezone offset from the network, but I was
wondering if there is a way to retrieve the actual timezone name, e.g
Europe/Madrid

Thanks,
Juan


More information about the ModemManager-devel mailing list