Dear Gaurav, Get sdate in Date Format in action. Convert it to String through SimpleDateFormat Class.
SimpleDateFormat dateformat = new SimpleDateFormat("hh:mm:ss"); String stime=dateformat.format(sdate); regards VIVEK www.vivekjaiswal.info ________________________________ From: Gaurav Tripathi <gaurav.triw...@yahoo.in> To: "user@struts.apache.org" <user@struts.apache.org> Sent: Wednesday, 21 November 2012 4:04 PM Subject: Fw: help urgent needs ----- Forwarded Message ----- From: Gaurav Tripathi <gaurav.triw...@yahoo.in> To: "user@struts.apache.org" <user@struts.apache.org> Sent: Wednesday, 21 November 2012 3:51 PM Subject: Fw: help dear sir, i am a new java beginners and try to use the datetime picker not find the time value to store in a proper format . if we use the String to store the time in action class it does not give in a right format. plz kindly guide me. <sx:datetimepicker type="time" label="Ship Time" name="stime" displayFormat="hh:mm:ss"></sx:datetimepicker>*/ thanks and regards gaurav