Still problems displaying the date and time in J2ME

I have tried to display the correct date time using the following code:
     
               Date today = new Date(System.currentTimeMillis());

               DateField datefield = new DateField("", DateField.DATE_TIME);
               
               datefield.setDate(today);
               
               form.append(datefield);

The date is correct but for the time it give me 3 hours more than actual one.

I am using the Sun Java Wirelles Toolkit to do this. J2ME
jonathan_oteroAsked:
Who is Participating?
 
doraemon-nolifeConnect With a Mentor Commented:
Please check the locale of your machine, you might not have selected your country as your locale reference.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.