Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

link for DATE and TIMESTAMP

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please give me some good links that explains how to use DATE and TIMESTAMP.

Thanks.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start with the documentation that comes with whatever database you are using. That likely to be more pertinent than a link from the internet.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36027
431
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rathi,
getDate() gives you the date without the time. getTimestamp() gives you the date and time. What other information are you looking for?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!