ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 271 of 545 2020-04-15
Time & Alarm
3.7.1. AT+CCLK - Clock Management
The command is related to real time clock management.
AT+CCLK=<time>
Set command sets the real-time clock of the module.
Parameter:
Current time as quoted string in the
format:
"yy/MM/dd,hh:mm:ss±zz,d"
year (two last digits are mandatory), range is 00..99
month (two digits are mandatory), range is 01..12
day (two digits are mandatory) The range for dd(day) depends either on
the month and on the year it refers to. Available ranges are: (01..28)
(01..29) (01..30) (01..31). Trying to enter an out of range value will raise
an ERROR message.
hour (two digits are mandatory), range is 00..23
minute (two digits are mandatory), range is 00..59
seconds (two digits are mandatory), range is 00..59
time zone (indicates the difference, expressed in quarter of an hour,
between the local time and GMT; two digits are mandatory), range is -
96...+96
AT+CCLK?
Read command returns the current setting <time> of the real-time clock, in the format:
+CCLK: <time>
The three last characters of <time>, i.e. the time zone information, are returned by
AT+CCLK? only if the #NITZ URC 'extended' format has been enabled (see #NITZ).
AT+CCLK=?
Test command returns the OK result code.