×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    9

    DateField values returned in E61i,N73 is diff when compared to actual time in device.

    Hi all,
    Its all about the same problem Datefield.
    i have a simple form,added a DateField item to it.init the vale as:
    datetime = new DateField("Date & Time", DateField.DATE_TIME);
    Date date = new Date();
    datetime.setDate(date);

    when i run it on the device...
    the out put Date from this DateField is
    GMT+5:00
    but the actual time in my mobile set is GMT+5:30
    what is the reason for +30min diff???

    i saw some early post they say its not properly implemented...it retruns GMT but in my case its GMT+5:300

    Can any one pls give us some best solutions
    it works fine on sony mobiles...

    Thanks in advance..

  2. #2
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Faridabad(Delhi NCR)
    Posts
    343

    Re: DateField values returned in E61i,N73 is diff when compared to actual time in dev

    HEy Buddy I m getting this problem from too many days and i did lots of discussion here but still not getting result ...on some device its show coreect time and on other it shows different we cant do nything ..i m sure it was giving half n hour diffrence
    it better for u to minus 30X60X1000 with actual time
    Anshu Chauhan
    J2me Developer

  3. #3
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: DateField values returned in E61i,N73 is diff when compared to actual time in dev


  4. #4
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Faridabad(Delhi NCR)
    Posts
    343

    Re: DateField values returned in E61i,N73 is diff when compared to actual time in dev

    Hartti i have all these things but i didn get help from anywhere.
    thts y i hav decided to minus 30 min from actual time now its working fine
    Anshu Chauhan
    J2me Developer

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    9

    Unhappy Re: DateField values returned in E61i,N73 is diff when compared to actual time in dev

    I think i should go with that work around but the biggest problem is i can't make is as a global application... need to produce different build for different regions or need to use some values for each reigions to do +or- with GMT...Oh god...

    When a push registry triggers how to supress the authentication yes/no details...on nokia phones...on sony mobiles the app gets loaded automatically but over here it asks for yes/no user input...

  6. #6
    Regular Contributor
    Join Date
    Jul 2008
    Location
    Faridabad(Delhi NCR)
    Posts
    343

    Re: DateField values returned in E61i,N73 is diff when compared to actual time in dev

    I think After sign in it will not ask i m not sure....but in my opinion its will not ask
    Anshu Chauhan
    J2me Developer

Similar Threads

  1. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×