• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Read DateTime values from the database

 
Garry Kalra
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getTimestamp
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!