pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Sawtell <csawtell@xtra.co.nz>
To: Glen and Rosanne Eustace <agree@godzone.net.nz>
To: pgsql-sql@postgresql.org
Subject: Re: Re: Problem with Dates
Date: Fri, 26 Jan 2001 21:22:08 +1300
Message-ID: <01012621220800.13520@berty> (raw)
In-Reply-To: <00d401c08729$077cc440$0101a8c0@godzone.net.nz>
References: <00ff01c0863e$c4ef8620$0101a8c0@godzone.net.nz>
	<20010124181731.G17481@thune.yy.com>
	<00d401c08729$077cc440$0101a8c0@godzone.net.nz>

On Fri, 26 Jan 2001 12:46, Glen and Rosanne Eustace wrote:

[ ... ]

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

[ ... ]

I get the same result. This business of crooked dates in NZ summertime
is frequently because the rest of the world can't  twig on to the notion that
it is possible to have GMT + 13, and do not take account of it in date/time 
calculations.

-- 
Sincerely etc.,

 NAME       Christopher Sawtell
 CELL PHONE 021 257 4451
 ICQ UIN    45863470
 EMAIL      csawtell @ xtra . co . nz
 CNOTES     ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

 -->> Please refrain from using HTML or WORD attachments in e-mails to me <<--




view thread (19+ messages)  latest in thread

Message-ID: <01012621220800.13520@berty>
Permalink:  ../01012621220800.13520@berty/
Also on:    postgresql.org/message-id/01012621220800.13520@berty

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: csawtell@xtra.co.nz, agree@godzone.net.nz
  Subject: Re: Problem with Dates
  In-Reply-To: <01012621220800.13520@berty>
  References: <00ff01c0863e$c4ef8620$0101a8c0@godzone.net.nz> <20010124181731.G17481@thune.yy.com> <00d401c08729$077cc440$0101a8c0@godzone.net.nz> <01012621220800.13520@berty>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox