From: | Theodore Petrosky <tedpet5(at)yahoo(dot)com> |
---|---|
To: | Sh A Guru Prasad <guru(at)ap(dot)nic(dot)in>, pgsql -bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: date validation problem |
Date: | 2003-12-29 13:47:56 |
Message-ID: | 20031229134756.7330.qmail@web41013.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)ap(dot)nic(dot)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/
From | Date | Subject | |
---|---|---|---|
Next Message | Michael van Elst | 2003-12-29 14:27:38 | Re: date validation problem |
Previous Message | Sh A Guru Prasad | 2003-12-29 10:49:52 | date validation problem |