Re: Problem with Dates - Mailing list pgsql-sql

From Mike Castle
Subject Re: Problem with Dates
Date
Msg-id 20010124181731.G17481@thune.yy.com
Whole thread Raw
In response to Re: Problem with Dates  ("Glen and Rosanne Eustace" <agree@godzone.net.nz>)
List 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 by date:

Previous
From: "Glen and Rosanne Eustace"
Date:
Subject: Re: Problem with Dates
Next
From: "Brett W. McCoy"
Date:
Subject: Re: Re: Problem with Dates