Read command

The read command reads the current time and daylight saving time.

Response syntax:

%CCLK: <time>[,<daylight_saving_time>]
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 command parameters and their defined values 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 −48...+48).
<daylight_saving_time>
Optional. Present if received from the network or if the user has set it in AT%CCLK.
0 – No adjustment of daylight saving time
1 – +1 hour adjustment of daylight saving time
2 – +2 hours adjustment of daylight saving time

The following command example reads the current date, time, and daylight saving time:

AT%CCLK?
%CCLK: "02/05/07,14:08:17+00",2
OK