Re: is this my date problem

Поиск
Список
Период
Сортировка
От Theodore Petrosky
Тема Re: is this my date problem
Дата
Msg-id 20031002030520.61111.qmail@web41002.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: is this my date problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: is this my date problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I should have sent this... it is very interesting..

agencysacks=# select to_timestamp('01 October 2003
00:01', 'DD Month YYYY HH24:MI');
    to_timestamp
---------------------
 0003-10-01 00:01:00
(1 row)

agencysacks=# select to_timestamp('01 October 2003
23:59', 'DD Month YYYY HH24:MI');
    to_timestamp
---------------------
 0003-10-01 23:59:00
(1 row)

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Theodore Petrosky <tedpet5@yahoo.com> writes:
> > I am sorry, I wasn't clear... when i refered to
> > 01 October 2003
> > I got zero results. I only got results for the
> October
> > 1 date when i refered to it as september 31....
>
> That's a bit hard to believe.  Could you show us the
> results of the
> individual to_timestamp operations ("select
> to_timestamp(...)")?
>
>             regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Theodore Petrosky
Дата:
Сообщение: Re: is this my date problem
Следующее
От: Theodore Petrosky
Дата:
Сообщение: Re: is this my date problem