Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.mixmin.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nigel Wade Newsgroups: comp.lang.java.programmer Subject: Re: Timezones and versions of Java Date: Mon, 23 May 2011 15:45:19 +0100 Lines: 12 Message-ID: <93va80Fe1mU1@mid.individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: individual.net 9edFgLakVN23uH3GFZA39whePT5q6rmhiRs0lcioqlVORmtUOq Cancel-Lock: sha1:dJ+ijXXcMtyU76r+mWlQ6nB/MBk= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4454 On 23/05/11 15:38, loial wrote: > I am trying to convert BST times to EST. > > The following code correctly returns a difference of 5 hours between > the 2 times when run under Java 1.5. : Not it doesn't, it doesn't even compile. Post the actual code you are running. -- Nigel Wade