From: Hans-Henrik Fuxelius <hfuxelius@gmail.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6340: to_timestamp() miscalculates
Date: Thu, 15 Dec 2011 17:56:25 +0100
Message-ID: <2F9ADE33-9F9B-4302-ACC3-3E6FD43AE35A@gmail.com> (raw)
In-Reply-To: <4EE9C9DF0200002500043D02@gw.wicourts.gov>
References: <4EE9C9DF0200002500043D02@gw.wicourts.gov>
Thanx a lot for your promt respons :) You are absolutely right, its the daylight saving that date and hour, I had it as an key in my GPS data and was very confused!!!
Again - Thanx
/Hans-Henrik
On Dec 15, 2011, at 5:20 PM, Kevin Grittner wrote:
> wrote:
>
>> test to run: select to_timestamp('2011,03,27,02,11,11',
>> 'YYYY,MM,DD,HH24,MI,SS')
>>
>> and the run: select to_timestamp('2011,03,27,03,11,11',
>> 'YYYY,MM,DD,HH24,MI,SS')
>>
>> It miscalculates 02 hour to 03 hour by some reason
>
> I don't know what time zone you're in, or whether daylight saving
> time kicks in on that date. *Is* there a 02:11:11 on that date, or
> is that when time "springs forward" by an hour in the spring for your
> locale?
>
> -Kevin
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-bugs@postgresql.org
Cc: hfuxelius@gmail.com, Kevin.Grittner@wicourts.gov
Subject: Re: BUG #6340: to_timestamp() miscalculates
In-Reply-To: <2F9ADE33-9F9B-4302-ACC3-3E6FD43AE35A@gmail.com>
References: <4EE9C9DF0200002500043D02@gw.wicourts.gov> <2F9ADE33-9F9B-4302-ACC3-3E6FD43AE35A@gmail.com>
* 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