Re: Is this a bug? : select '26/10/2003'::date + interval '1 day';

From: Richard Huxton <richardh(at)archonet(dot)com>
To: <cmarin(at)dims(dot)com>, Conxita Marín <comarin(at)telefonica(dot)net>, "Pgsql-General-post (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is this a bug? : select '26/10/2003'::date + interval '1 day';
Date: 2003-05-22 16:21:59
Message-ID: 200305221721.59157.richardh@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday 22 May 2003 11:27 am, Conxita Marín wrote:
> Hi.
>
> Is this a bug?
>
> s001=> select '25/10/2003'::date + interval '1 day';
> ?column?
> --------------------------
> 26/10/2003 00:00:00 CEST
> (1 row)
>
> s001=> select '26/10/2003'::date + interval '1 day';
> ?column?
> -------------------------
> 26/10/2003 23:00:00 CET (????)
> (1 row)

If CEST is Central European Summer Time
And CET is Central European Time

Then I'd guess you're looking at the end of the summer-time adjustment when
the clocks go back 1 hour.
--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Renê Salomão 2003-05-22 16:38:38 Re: Installing PlPerl
Previous Message Stephan Szabo 2003-05-22 16:13:22 Re: Is this a bug? : select '26/10/2003'::date + interval