Re: Timestamp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Timestamp
Дата
Msg-id 3530.1024968089@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Timestamp  ("Alex Falkowski" <alex@l-o-u-d.com>)
Список pgsql-jdbc
"Alex Falkowski" <alex@l-o-u-d.com> writes:
> I get the following output, which clearly marks to me that setTimestamp is =
> doing something wrong

> PostgreSQL 7.2 JDBC2
> 2002-06-22 00:00:00.0
> SELECT o.id FROM question o WHERE (o.question_date =3D '2002-06-21 14:00:00=
> .00+00')

It's not apparent to me that this is wrong --- is the second println
reporting the Timestamp's value in your local timezone?  I guess that
your local timezone is GMT+10 from your Date: header, in which case
the two values are perfectly consistent.

            regards, tom lane



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Timothy Reaves
Дата:
Сообщение: Re: Posgresql - openoffice-JDBC
Следующее
От: John Hicks
Дата:
Сообщение: Re: servlets and JDBC (postgresql 7.2)