This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 datetimepicker Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 datetimepicker" Watch "Struts2 datetimepicker" New topic
Author

Struts2 datetimepicker

Honzak Troubak
Ranch Hand

Joined: Jan 11, 2013
Posts: 31
Hello guys,
I want to save date from datetimepicker into mysql database. But output from datetimepicker is in format "2013-03-14T00:00:00+01:00". Formats of MySQL as Date, DateTime or TimeStamp I couldn't use, because format is different.

Does exist any way how save date from datetimepicker (or similar) direct to some kind of date on database?

I'm using Struts-dojo-plugin 2.3.7.
 
 
subject: Struts2 datetimepicker
 
Similar Threads
Readonly attribute for dateTimePicker
datetimepicker not working in firefox
DatetimePicker problem in struts2
issue with datetimepicker & autocompleter in struts 2
[Struts 2.1.8] datetimepicker and action: String or Date ??