File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How to Read DateTime values from the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
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
Joda DateTime
finding the closest time in database record
how to handle Null values?
how to change the date,Time format after accessing it from the database
count by current timestamp