🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17794

Re: Problem with the time.

#17794
From: Col Bell
Date: Fri, 02 Oct 1998 00:00
25 lines
1201 bytes
I had a similar problem with an early version of the JDK1.1 (the one
with JBuilder 1) where it wasn't correctly retrieving the time zone
associated with the default locale. In my case it was out by 10 hours
which just happens to be how far ahead of GMT we are here in Sydney
Australia.

This now works in version 1.1.6

Dillan Fernando wrote in message <6v0fnl$1oa5@forums.borland.com>...
>Hi!
>
>I have written a bean which performs a task at a scheduled time. The
problem
>is when I get the system time using java.util.date, it returns a
wrong time.
>I checked the time settings. The time it returns is exactly one hour
less.
>Any ideas why ?
>
>Thanks
>
>Regards
>Dillan Fernando
>
>
Technical Details
Message-ID: <6v2dog$3k89@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6v0fnl$1oa5@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f80e831378dc9400
X-Google-Attributes: gidf74b3,public
From: "Col Bell" <colbell@bigfoot.com>
Subject: Re: Problem with the time.
Date: 1998/10/02
Message-ID: <6v2dog$3k89@forums.borland.com>
X-Deja-AN: 397010135
References: <6v0fnl$1oa5@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language