Re: Problem with Dates

Поиск
Список
Период
Сортировка
От Glen and Rosanne Eustace
Тема Re: Problem with Dates
Дата
Msg-id 00d401c08729$077cc440$0101a8c0@godzone.net.nz
обсуждение исходный текст
Ответ на Problem with Dates  ("Glen and Rosanne Eustace" <agree@godzone.net.nz>)
Ответы Re: Re: Problem with Dates
Re: Re: Problem with Dates
Список pgsql-sql
template1=# select '31/12/2000'::date; ?column?
------------2000-12-31
(1 row)

template1=# select '31/12/2000'::date + '365 days'::timespan;       ?column?
------------------------2002-01-01 00:00:00+13    <<<<<<<<<<< Wrong
(1 row)

template1=# select '31/12/2000'::date + '364 days'::timespan;       ?column?
------------------------2001-12-31 00:00:00+13
(1 row)

template1=# select '31/12/2000'::date + '363 days'::timespan;       ?column?
------------------------2001-12-30 00:00:00+13
(1 row)

> Not sure if gets you anywhere.  But data points.
>
> There is an email archive on the postgresql.org website you could
search if
> you think it's been answered before.

I have tried looking here but it is pretty hard to know what to look
for.

Glen.




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

Предыдущее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Don't want blank data
Следующее
От: Ron Peterson
Дата:
Сообщение: Re: Is there anything like DESCRIBE?