Re: date comes up wrong..
Davy J <[email protected]> Tue, 27 Aug 2002 17:13:51 +0200
| Newsgroups | gmane.comp.windows.devel.java.general |
|---|---|
| Message-ID | <[email protected]> |
Is the locale of the machine set to local, or to the it's default I guess your somewhere west of the locale setting for the box, so your computer thinks it's in a diffrent timezone? Davy The date on the client machine is the correct date.. I'm using jdk 1.3.1_03-b03 and redhat 7.2 On Tue, 27 Aug 2002, David Rosenstrauch wrote: > Calendar.getInstance() will give you a calendar set to the current > date/time of the client machine. So if the date is wrong I would think it > has to be because the system date/time is wrong. > > Which JDK & OS are you using? > > > DR > You can read messages from the JAVA archive, unsubscribe from JAVA, or subscribe to other DevelopMentor lists at http://discuss.develop.com.