jonathan_otero
asked on
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.currentTimeMil lis());
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
Date today = new Date(System.currentTimeMil
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Computer101
EE Admin