A6 GSM, get Network Time

Hi!

I try to get time using A6 GSM with arduino Mega2560, the command AT+CCLK? give me

+CCLK: "12/06/01,10:39:25+01"

OK

Is not the correct time.

Please how can i do, for getting the real Network Time?

Thank You!

send

AT+CLTS=1;&W
delay(2000);

then

AT+CFUN=1,1
delay(2000);

when you get correct time, send this

AT+CLTS=0
delay(2000);

OR you can one-time correct it by sending

AT+CCLK="19/09/13,11:22:17+12"
delay(2000);

" should be inclusive

Hello!

Thanks for your answer

But, it works only when the GSM module is turned on, when I turn it off and after turn on, i have a wrong date and time (default time)

sounds like you have a bad flash memory as this one

AT+CCLK="19/09/13,11:22:17+12"

is stored in flash and 'remembered' (to be incremented) next time your module reboots

get yourself a SIM800L (red or blue ones ) ,

read somewhere that some A6 GSM have no flash