Re: date validation problem

Поиск
Список
Период
Сортировка
От Theodore Petrosky
Тема Re: date validation problem
Дата
Msg-id 20031229134756.7330.qmail@web41013.mail.yahoo.com
обсуждение исходный текст
Ответ на date validation problem  (Sh A Guru Prasad <guru@ap.nic.in>)
Ответы Re: date validation problem  (Michael van Elst <mlelstv@serpens.de>)
Список pgsql-bugs
I don't see the problem... you are specifying the 66th
day of the 55th month in the year 5555. just a cursory
glance says that 48 months is 4 years... that gives
the year as 5559. try your example with real numbers
(unless these are real)

select to_date('13122003','ddmmyyyy');
  to_date
------------
 2003-12-13
(1 row)

Ted

--- Sh A Guru Prasad <guru@ap.nic.in> wrote:
>
> sir,
>
> in postgresql 7.3.2 when we are trying to query like
>
> select to_date('665555555','ddmmyyyy');
>
> the output is
>
> 5559-09-06
>
> it is not validating the day and month and unknown
> format
> is the output..
>
> any help regarding this is greatful...
>
> thank you
>
>
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

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

Предыдущее
От: Sh A Guru Prasad
Дата:
Сообщение: date validation problem
Следующее
От: Michael van Elst
Дата:
Сообщение: Re: date validation problem