This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes How to Read DateTime values from the database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "How to Read DateTime values from the database" Watch "How to Read DateTime values from the database" New topic
Author

How to Read DateTime values from the database

Garry Kalra
Ranch Hand

Joined: May 25, 2001
Posts: 111
Please tell me how to read datetime values from the database. I understand there is a function called getDate and another called getTime, but what if i want a combination of both, so that i can compare two datetime values in java and not on the database server.
Thanks
Gaurav Kalra
Daniel Dunleavy
Ranch Hand

Joined: Mar 13, 2001
Posts: 276
getTimestamp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Read DateTime values from the database
 
Similar Threads
finding the closest time in database record
Joda DateTime
count by current timestamp
how to change the date,Time format after accessing it from the database
how to handle Null values?