AT+SETTIME:<year>,<month>,<day>,
<hour>,<min>,<sec>
or
AT+SETTIME: <time>
<year> - 4 digits decimal number
<month> - 2 digits decimal number
<day> - 2 digits decimal number
<hour> - 2 digits decimal number
<min> - 2 digits decimal number
<sec> - 2 digits decimal number
<time> - 32 bit hexadecimal number
representing time in UTC format (number of
seconds since 01.01.2000 00:00)
Note
The earliest time that can be set using the first
format is 2008,01,01,00,00,00
Example
AT+SETTIME:2009,03,05,08,15,00
(2009,March 5
th
8:15 AM)
TIME:<time>
OK
or ERROR:<errorcode>
Returns current local time in UTC format.
<time> - 32 bit hexadecimal value representing
the local time, number of seconds since 0 hours,
0 minutes, 0 seconds, on the 1
st
of January,
2000 UTC
<errorcode> represents the error code explained
in section 3.