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