Read command

The read command reads the real-time clock.

Response syntax:

+CCLK: <time>

If time is not received or set with the +CCLK command, the response is ERROR.

Note: The device clock updates are based on network time when available. The time can be requested using the read command, but not all networks provide the information, nor can the highest accuracy requirements be guaranteed, either.

The read response parameters and their defined values are the following:

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 reads the real-time clock:

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