Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to store datetimepicker value into database

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

I have the following code


If you note it is having two datetimepicker one for Date and one for Time.
I am having a bean schedule.startTime is a Timestamp. I need to store in the table. I never used datetimepicker before.

Give me your suggestions.

Thanks
 
Chris Boldon
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahhhhh take it in as a String, convert it to a date/time and persist it to the db?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic