Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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?
It is sorta covered in the
JavaRanch Style Guide
subject: How to store datetimepicker value into database
Struts2: Can datetimepicker be used in a plain form.
datetimepicker in struts2
Dojo datetimepicker issue in Struts188.8.131.52
Time is retreiving from the Database to datetimepicker
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014