• Post Reply Bookmark Topic Watch Topic
  • New Topic

why to use Timestamp????

 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody tell me, why to use Timestamp.

thanks in advance
regards
GK
 
Paul Clapham
Sheriff
Posts: 21867
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean java.sql.Timestamp? You'd use that to represent a column in your database that contains timestamp (date and time) data. If you're asking why that and not java.sql.Date or java.sql.Time, you'd use those to represent columns that have date (only) or time (only) data.
 
gopal kishan
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,

Thanks for your reply.

regards
Gopal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!