This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes How to store datetimepicker value into database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to store datetimepicker value into database" Watch "How to store datetimepicker value into database" New topic
Author

How to store datetimepicker value into database

Mahendran Aiyappan
Ranch Hand

Joined: Sep 05, 2005
Posts: 102
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

Joined: Aug 10, 2006
Posts: 190
Ahhhhh take it in as a String, convert it to a date/time and persist it to the db?
 
jQuery in Action, 3rd edition
 
subject: How to store datetimepicker value into database
 
It's not a secret anymore!