Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Joining two String having date and time into timestamp  RSS feed

 
Mahendran Aiyappan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I am having two datepickers one is for Date(java.sql.Date) and another is for Time(String). I want to append these two fields and convert it into Timestamp which can be stored in the database.

Please give me your suggestions.

Thanks
 
Campbell Ritchie
Marshal
Posts: 54883
155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go through the JDBC forum. I think there have been answers to similar questions in the last week or two.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!