A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
Time is retreiving from the Database to datetimepicker
Joined: Sep 05, 2005
May 16, 2007 23:39:00
I have a datetimepicker
< s :mrgreen: atetimepicker key="myScheduleTime" type="time" />
myScheduleTime is a
I want the time not the date to this field.
It is showing only 12: 00 only.
Another Question is I have show 12:00 AM / PM. My Question is how to set AM or PM in this field.
Please give me your suggestions.
Joined: May 09, 2007
May 17, 2007 01:03:00
i think You are new to java..........for AM,PM ! you can use very simple logic mean just 1 if,like get time in hours,then see if it is >12 then its P.M,else its A.M..........so simple
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Time is retreiving from the Database to datetimepicker
issue with datetimepicker & autocompleter in struts 2
Readonly attribute for dateTimePicker
datetimepicker in struts2
Dojo datetimepicker issue in Struts126.96.36.199
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014