2 read the current date/time, At+cclk? Page 84
Page 84

GM862-QUAD / PY Software User Guide
1vv0300747 Rev. 3 - 10/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 84 of 96
MM - month (two last digits are mandatory), range is 01..12
dd - day (two last digits are mandatory), range is 01..31 (if the month MM has less than 31 days, the
clock will be set for the next month)
hh - hour (two last digits are mandatory), range is 00..23
mm - minute (two last digits are mandatory), range is 00..59
ss - seconds (two last digits are mandatory), range is 00..59
±zz - time zone (indicates the difference, expressed in quarter of an hour, between the local time and
GMT; two last digits are mandatory), range is -47..+48
NOTE: If the parameter is omitted the behavior of Set command is the same as Read command.
•
wait for response
OK
TIP: Remember that the string time has to be encapsulated in double brackets.
NOTE: The time will start immediately after the time setting command.
For example:
1- Let's assume you want to regulate your clock to 7 November 2002 at 12h 24m 30s for the time zone
+01h central Europe:
command:
AT+CCLK="02/11/07,12:24:30+04"
response:
OK
In this case, the time was successfully set.
3.7.1.2 Read the current date/time
•
Send command
AT+CCLK?
•
wait for response in the format:
+CCLK: : the three last characters of are not returned by +CCLK? because the ME doesn’t
support time zone information.
For example:
1- Let's assume you want now to read the current time:
command:
AT+CCLK?
response:
+CCLK="02/11/07,12:26:47"
OK
In this case the current date/time is: 7 November 2002 12h 26m 47s