Article:
 |
|
Getting the Most Out of the Struts Tag Libraries
|
| Subject: |
|
how to use format with dates |
| Date: |
|
2004-03-09 15:28:55 |
| From: |
|
jonathan@fallinhouse.com
|
Response to: how to use format with dates
|
|
You can use Jakarta DateTime TagLib. Information located here. http://jakarta.apache.org/taglibs/doc/datetime-doc/datetime-1.0/index.html
With the Date Time Taglib, you can implement what you want like this:
Logged in Since: <dt:format pattern="HH:mm:ss" locale="true"><bean:write name="thisSess" property="creationTime"></dt:format>,
Last access: <dt:format pattern="HH:mm:ss" locale="true"><bean:write name="thisSess" property="lastAccessedTime" /></dt:format>,
Max inactive interval: <dt:format pattern="HH:mm:ss" locale="true"><bean:write name="thisSess" property="maxInactiveInterval" /></dt:format>
|
Showing messages 1 through 1 of 1.
-
how to use format with dates
2008-03-12 17:54:30
rafaelpl
[View]
exist someone posibility of to use Jakarta DateTime TagLib in java.util.Date ?
my mail is el.muu.1@gmail.com