A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
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
I agree. Here's the link:
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 Struts220.127.116.11
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015