Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #5924
| 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 | <iv2ihd$hno$1@dont-email.me> (permalink) |
| References | <dd846e8a-836e-404a-ae4b-7eb634711b73@29g2000yqb.googlegroups.com> |
| 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 | <dd846e8a-836e-404a-ae4b-7eb634711b73@29g2000yqb.googlegroups.com> |
| Cancel-Lock | sha1:olapcRklHpVrgWKhkaoJmGe+7Ho= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5924 |
Show key headers only | View raw
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()?
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Timezone string and converting dates to my time zone laredotornado <laredotornado@zipmail.com> - 2011-07-06 13:35 -0700 Re: Timezone string and converting dates to my time zone markspace <-@.> - 2011-07-06 14:02 -0700 Re: Timezone string and converting dates to my time zone Nigel Wade <nmw-news@ion.le.ac.uk> - 2011-07-07 09:27 +0100 Re: Timezone string and converting dates to my time zone Roedy Green <see_website@mindprod.com.invalid> - 2011-07-08 00:56 -0700
csiph-web