pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <davec@fastcrypt.com>
To: Christian Cryder <c.s.cryder@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kris Jurka <books@ejurka.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Timestamp Conversion Woes Redux
Date: Wed, 20 Jul 2005 14:13:25 -0400
Message-ID: <B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com> (raw)
In-Reply-To: <90876a9e05072010475d161b94@mail.gmail.com>
References: <90876a9e05071810503606d431@mail.gmail.com>
	<42DCF0C9.4030501@opencloud.com>
	<23396.1121781259@sss.pgh.pa.us>
	<392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com>
	<Pine.BSO.4.56.0507191100110.68@leary.csoft.net>
	<90876a9e050719093261c52c64@mail.gmail.com>
	<Pine.BSO.4.56.0507200109220.31980@leary.csoft.net>
	<42DDF238.8090601@opencloud.com>
	<Pine.BSO.4.56.0507201125190.5339@leary.csoft.net>
	<24020.1121881295@sss.pgh.pa.us>
	<90876a9e05072010475d161b94@mail.gmail.com>

Actually,

Java has timezones that postgres doesn't understand, which is
why using the server timezone makes more sense.

Hopefully java understands all the timezones postgres understands.

Dave
On 20-Jul-05, at 1:47 PM, Christian Cryder wrote:

> On 7/20/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>> Hmm ... does Java have a standard set of timezone names?  If so,  
>> does it
>> bear any resemblance to the zic database names?
>>
>
> Yes, you can see them by running this snippet...
>
> String zones[] = TimeZone.getAvailableIDs();
> for (int i=0; i<zones.length; i++) {
>     System.out.println("   "+i+": "+TimeZone.getTimeZone(zones[i]));
> }
>
> No idea how that compares to zic...
>
> Christian
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>




view thread (92+ messages)  latest in thread

Message-ID: <B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com>
Permalink:  ../B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com/
Also on:    postgresql.org/message-id/B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: davec@fastcrypt.com, c.s.cryder@gmail.com, tgl@sss.pgh.pa.us, books@ejurka.com, oliver@opencloud.com
  Subject: Re: Timestamp Conversion Woes Redux
  In-Reply-To: <B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com>
  References: <90876a9e05071810503606d431@mail.gmail.com> <42DCF0C9.4030501@opencloud.com> <23396.1121781259@sss.pgh.pa.us> <392278AB-987F-40CF-B59D-DDF53B9A4ACF@fastcrypt.com> <Pine.BSO.4.56.0507191100110.68@leary.csoft.net> <90876a9e050719093261c52c64@mail.gmail.com> <Pine.BSO.4.56.0507200109220.31980@leary.csoft.net> <42DDF238.8090601@opencloud.com> <Pine.BSO.4.56.0507201125190.5339@leary.csoft.net> <24020.1121881295@sss.pgh.pa.us> <90876a9e05072010475d161b94@mail.gmail.com> <B3BA4316-26FB-4C7B-BAE4-AAC2F9B6574C@fastcrypt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox