I am using a datepicker in form to send particular date and time to my action class. But When I submit my form the datepicker value received at action is
Wed Jan 29 00:00:00 IST 2014
means, the date is going correct but the time not. How can I solve the problem???
My Form :
<form theme="simple" action="saveDetailsRecBackupConf" method="post" name="viewConfiguration">
<sj:datepicker theme="simple" id="addedon" name="addedon" timepicker="true" timepickerShowSecond="true" timepickerFormat="HH:mm:ss" ></sj:datepicker>
<input type="submit" value="SAVE" name="SUBMIT" id="save" />
</form>