A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Nov 06, 2003
Aug 02, 2005 12:16:00
Has Anyone used the format attribute to format time?
<bean:write property = "time" name = "List" format=""/>
I am able to display time as hh:mm:SS(13:30:45)
but I wanted to format as 13:30:45 PM or AM.
Please let me know how to format...
Thanks in advance.........
Joined: Feb 15, 2005
Aug 02, 2005 12:28:00
uses java.text.SimpleDateFormat for date and time formatting. Here is a link to the API documentation that explains the symbols.
I agree. Here's the link:
subject: bean:write format
problem starting the tomcat4
Time in 24 hrs or AM/PM
<bean:write/> of struts1
all caught up on nitpicking
bean:write formatKey tag
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014