Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5984

Re: Timezone string and converting dates to my time zone

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Timezone string and converting dates to my time zone
Date 2011-07-08 00:56 -0700
Organization Canadian Mind Products
Message-ID <m0ed175394mv81s6aj0k0b2jon6egpgi54@4ax.com> (permalink)
References <dd846e8a-836e-404a-ae4b-7eb634711b73@29g2000yqb.googlegroups.com>

Show all headers | View raw


On Wed, 6 Jul 2011 13:35:39 -0700 (PDT), laredotornado
<laredotornado@zipmail.com> wrote, quoted or indirectly quoted someone
who said :

>I'm using Java 1.6.  I'm trying to convert a date that is of a
>different time zone than what my machine is and I'm trying to get an
>equivalent java.util.Date object for my time zone.

see http://mindprod.com/jgloss/timezone.html
http://mindprod.com/jgloss/calendar.html
for recipes for the usual transforms.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
One thing I love about having a website, is that when I complain about
something, I only have to do it once. It saves me endless hours of grumbling.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

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