Re: Problem with Dates

Поиск
Список
Период
Сортировка
От Mike Castle
Тема Re: Problem with Dates
Дата
Msg-id 20010124181731.G17481@thune.yy.com
обсуждение исходный текст
Ответ на Re: Problem with Dates  ("Glen and Rosanne Eustace" <agree@godzone.net.nz>)
Список pgsql-sql
On Thu, Jan 25, 2001 at 03:06:38PM +1300, Glen and Rosanne Eustace wrote:
> pressie# select '31/12/2000'::date + '1 year'::timespan;
>           ?column?
> -----------------------------
>  01/01/2002 00:00:00.00 NZDT
> (1 row)

What are the outputs of 
select '31/12/2000'::date;
select '31/12/2000'::date + '365 days'::timespan;

and 364, 363, etc.  

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.

mrc
--       Mike Castle       Life is like a clock:  You can work constantly dalgoda@ix.netcom.com  and be right all the
time,or not work at all
 
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc   We are all of us living in the shadow of
Manhattan. -- Watchmen
 


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

Предыдущее
От: "Glen and Rosanne Eustace"
Дата:
Сообщение: Re: Problem with Dates
Следующее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: Re: Problem with Dates