Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Timezone string and converting dates to my time zone Date: Wed, 06 Jul 2011 14:02:33 -0700 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 6 Jul 2011 21:02:37 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="5HSAJfqnDjjLFxXZ6WBWEw"; logging-data="18168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XeRznRNxDwSz2XA52UUlDcXRWVAqM8lc=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: Cancel-Lock: sha1:olapcRklHpVrgWKhkaoJmGe+7Ho= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5924 On 7/6/2011 1:35 PM, laredotornado wrote: > but this isn't working (time passed in is the same as what I get > back). The time zone string is, "GMT-5:00", and I'm in central > standard time (GMT-6:00). Any hints on how to get this right are > greatly appreciated, - Dave Wouldn't your own current time zone just be TimeZone.getDefault()?