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);

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
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.
Forced accept.

EE Admin
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.