Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issue with retrieving dates from oracle db

Status
Not open for further replies.

mcowen

Programmer
Oct 21, 2001
134
GB
Hi all,

I have to retrieve the date and time and use getDate at present. The date is fine but its setting the hours mins and secs to 0. I have tried getTime, getTimestamp but neither seem to work. Any ideas on what will work?

Rgds
Matt
 
Date, as an SQL value, does not contain the time. I have successfully changed over to Timestamp and it has worked this time.

Burning the midnight oil a little too low me thinks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top