ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 284 of 545 2020-04-15
3.7.8. 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
number of hours added to the local TZ because of Daylight Saving Time
(summertime) adjustment; range is 0-2.
AT#CCLK?
Read command returns the current setting of the real-time clock, in the format <time>.
If the time is set by the network but the DST information is missing, or the time is set by +CCLK
command, then the <time> format is:
"yy/MM/dd,hh:mm:ss±zz"
If the time is set by the network but the Daylight-Saving Time (DST) information is
missing, or the time is set by +CCLK command, then the <time> format is:
"yy/MM/dd,hh:mm:ss±zz"