beautypg.com

18 at+cclk set clock and date, Example, 18 at+cclk – Sony Ericsson GM47 User Manual

Page 113: Set clock and date

background image

3. CONTROL AND STATUS

113

LZT 123 7263 R1C

3.18 AT+CCLK

Set Clock and Date

Sets the real time clock of the ME. If setting fails in an ME, error +CME
ERROR: is returned. Read command returns the current setting
of the clock.

Example

AT+CCLK?
+CCLK: “00/01/01,22:54:48+00”

OK

AT+CCLK=“19/11/02,09:30:00+00”
OK

Description

Command

Possible Responses

Set the real time clock

of the ME

AT+CCLK=

• +CME ERROR:
• OK

• ERROR

Show the current

setting

AT+CCLK?

• +CCLK:

• +CME ERROR:
• OK
• ERROR

Show if the command

is supported

AT+CCLK=?

• OK
• ERROR

Description

string type

value

Format is “yy/mm/dd,hh:mm:ss±zz”, where characters

indicate year (two last digits), month, day, hour, minutes,

seconds and time zone (indicates the difference,

expressed in quarters of an hour, between the local time

and GMT; range -47...+48), e.g. 6th of May 1994, 22:10:00

GMT+2 hours reads “94/05/06,22:10:00+08”

NOTE: If the ME does not support time zone information

then the three last characters of

by +CCLK?

This manual is related to the following products: