Groups > Palm OS > Palm Java forum > Re: Date problem using j2me, can't display current date?




Re: Date problem using j2me, can't display current date?

Re: Date problem using j2me, can't display current date?
Thu, 6 Dec 2007 08:22:42 -0600
Can you confirm that the correct time is set in the phone?

In the original email, you said that the time was off by 1 hour.

Many countries changed their clocks by 1 hour this autumn, when they changed 
from summer/daylight savings time to winter time.

Best Regards

A. J. Paul Carew
--
Close Reach Communications Inc.
4518 Bull Creek Road,
Austin, TX 78731
P: (512)576-3030
F: (973)201-1670
E: Paul.Carew ( at ) CloseReachCommunications.com
W: CloseReachCommunications.com

----- Original Message ----- 
From: <bougrinerachid@hotmail.com>
To: "Palm Java Forum" <palm-java-forum@news.palmos.com>
Sent: Thursday, December 06, 2007 4:49 AM
Subject: Re: Date problem using j2me, can't display current date?


> Here's my code:
> Calendar c = Calendar.getInstance();
> c.setTime(new Date(System.currentTimeMillis()));
> -- 
> For information on using the ACCESS Developer Forums, or to unsubscribe, 
> please see http://www.access-company.com/developers/forums/ 

Post Reply
about | contact