A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to store datetimepicker value into database
Joined: Sep 05, 2005
May 16, 2007 04:02:00
I have the following code
<table> <tr> <td>Start time:</td> <td><s :mrgreen: atetimepicker name="dddp1" value="today" /> </td> <td><s :mrgreen: atetimepicker name="dddp4" type="time" value="today" /></td> </tr> </table>
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.
Joined: Aug 10, 2006
May 16, 2007 10:06:00
Ahhhhh take it in as a
, convert it to a date/time and persist it to the db?
I agree. Here's the link:
subject: How to store datetimepicker value into database
Time is retreiving from the Database to datetimepicker
datetimepicker in struts2
Struts2: Can datetimepicker be used in a plain form.
Dojo datetimepicker issue in Struts22.214.171.124
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015