A friendly place for programming greenhorns!
how to retreive date
Nov 29, 2005 02:39:00
i am using postesql 8.1.
in my table
have one field insertdate its data type is "date".
manually i entered a date, 29-11-2005 , i got error
AN error has occured.
ERROR: date/time field value out of range:"29-11-2005"
HINT: perhaps you need a different "datestyle"setting.
when i entered this way date 2005-11-29 its stored in the table.
but actually i needed, in sql query, 29-11-2005 format. how i can retrive date format 2005-11-29 to 29-11-2005?
please help me
Wink, wink, nudge, nudge, say no more ...
All times above are in ranch (not your local) time.
The current ranch time is
Dec 13, 2017 16:03:05
Copyright © 1998-2017