| From: | "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net> |
|---|---|
| To: | Glen and Rosanne Eustace <agree(at)godzone(dot)net(dot)nz> |
| Cc: | Christopher Sawtell <csawtell(at)xtra(dot)co(dot)nz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: Re: Problem with Dates |
| Date: | 2001-01-25 12:11:06 |
| Message-ID: | Pine.LNX.4.30.0101250708480.24393-100000@chapelperilous.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On Sat, 27 Jan 2001, Glen and Rosanne Eustace wrote:
> If some one else is running 7.1 already and can just change their
> timezone to New Zealand DT and report the results it would be great.
Here ya are:
cp=> set time zone 'NZ';
SET VARIABLE
cp=> select '12/31/2000'::date + '1 year'::interval;
?column?
------------------------
2001-12-31 00:00:00+13
(1 row)
cp=>
-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
It's a good thing we don't get all the government we pay for.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Brett W. McCoy | 2001-01-25 12:28:57 | Re: Re: Problem with Dates |
| Previous Message | Brett W. McCoy | 2001-01-25 10:49:01 | Re: "'" in SQL INSERT statement |