Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Timestamp  RSS feed

 
Supun Lakshan Dissanayake
Ranch Hand
Posts: 137
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!,
How do i get values from mysql timestamp and set it to a timestamp in java?

thanks!
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the column definition timestamp in MySQL? In Java you can do rs.getTimestamp("col_name")
 
Supun Lakshan Dissanayake
Ranch Hand
Posts: 137
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!