nrf9160

Set command

The set command sets the real-time clock of the User Equipment (UE).

Syntax:

+CCLK=<time>

The set command parameter and its defined value are the following:

<time>
String. Current time in the format "yy/MM/dd,hh:mm:ss±zz", where the characters, from left to right, indicate year, month, day, hour, minutes, seconds, and time zone. Time zone indicates the difference, expressed in quarters of an hour, between the local time and GMT (value range from −48 to +48).

The following command example sets the real-time clock:

AT+CCLK="18/12/06,22:10:00+08"
OK