grails datepicker

Posted by Srinath on Stack Overflow See other posts from Stack Overflow or by Srinath
Published on 2010-04-10T13:24:41Z Indexed on 2010/04/11 3:33 UTC
Read the original article Hit count: 311

Filed under:
|

Hi,

I'm using g:datePicker name="date1" id="date1" value="${program?.startDate}" >

In controller when used params.date1 it is showing value as "struct" and unable to save date in my database.

How can we parse date in to one param like eg: 2010-10-10 11:11:11 using datePicker ?

thanks in advance
srinath

© Stack Overflow or respective owner

Related posts about grails

Related posts about datepicker