A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
how to retreive date
Joined: Sep 26, 2005
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
I agree. Here's the link:
subject: how to retreive date
Date comparison...Help please!
Convert a String with a date valus for Oracle
How to retrieve a date value
problem with sql query to_date
How to change date format yyyy/mm/dd to dd/mm/yyyy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015