| Reply | « Previous Thread | Next Thread » |
|
hi frnd
can u help me when i use System.currentTimeMillis() to retirive current time of device it is showing Thu Jan 01 10:49:20 GMT+05:00 1970 can u help me to solve this problem .i want current time of device.. thanks in advance Ajay Kumar J2ME Mobile Software Developer Aamchi Mumbai,India |
| prajapati.ajay |
| View Public Profile |
| Find all posts by prajapati.ajay |
|
try following code
PHP Code:
Regards, Saurabh |
| ingsaurabh |
| View Public Profile |
| Find all posts by ingsaurabh |
|
hi frnd
thanks for reply.but hav you notice that in current time it is showing GMT+05:00 but this not right for mumbai(India).it should be GMT+05:30 i am getting right time but approx 30 minute late ... plz help same code is working in sony w810i but not working Nokia 6680,E61 thanks in advance.. Ajay Kumar J2ME Mobile Software Developer Aamchi Mumbai,India |
| prajapati.ajay |
| View Public Profile |
| Find all posts by prajapati.ajay |
|
I donno abt mumbai but in my case its giving me correct time as device default clock is showing
Regards, Saurabh |
| ingsaurabh |
| View Public Profile |
| Find all posts by ingsaurabh |
|
hi frnd
thanks for your reply i found some hint.i retrieved Default GMT of My Nokia E61 phone it shown me GMT+05:00 by this code TimeZone tz=TimeZone.getDefault(); System.out.println("Time Zone"+tz.getID()); and i checked on my sony W810i phone it shows default Time Zone is GMT+05:30.this time zone is for india.. above is not for india.i think this is reason application showing time approx 30 minute late.. can u help me to handle this type of problem thanks Ajay Kumar J2ME Mobile Software Developer Aamchi Mumbai,India |
| prajapati.ajay |
| View Public Profile |
| Find all posts by prajapati.ajay |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Unable to initiate debugging on an N82 device | fxtoltec | Carbide.c++ IDE and plug-ins | 8 | 2009-07-27 14:04 |
| SMS network time & device time | linxin79 | Symbian Networking & Messaging | 2 | 2009-05-25 11:16 |
| RegisterAlarm() - Device busy at scheduled time | sunil_talent | Mobile Java General | 3 | 2007-08-23 19:04 |
| device discovery time? | shivaprashanth | Bluetooth Technology | 3 | 2007-08-22 14:06 |
| Device discovery timeout on Symbian | laa-laa | Bluetooth Technology | 1 | 2003-09-24 11:50 |