How to initialize System time?
Hello everybody.
I'm working with a Siemens TC65.
I work without battery. When I supply the module, I get from System.currentTimeMillis() this value: 1009843232546, which I think corresponds to Tue Jan 01 00:00:32 UTC 2002.
Obviously, I wish to set the correct system time.
Does anybody knows how to set the system time?
Thanks in advance.
Message was edited by:
Jordi_E
[421 byte] By [
Jordi_Ea] at [2007-11-27 5:50:26]

# 1
OK.
After some fighting with this problem, I answer myself:
First I set the RT clock of TC65 with AT+CCLK.
After that, RT clock of the mobile phone is O.K., but System.currentTimeMillis is still wrong.
And now comes the trick: Being RT clock right, I force a reset with AT+CFUN=1,1.
When the system comes alive again, System.currentTimeMillis is OK (i.e. according to RTclock).