|
Home > Archive > WebSphere Portal Server > May 2006 > Date format help
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
|
I'm using JSF and want to conver a date from Thu Jan 19 13:41:00 EST 2006
to 1/19/2006 any ideas.
<h:outputText value="#{srch.displayDate}">
<f:convertDateTime pattern="MM/dd/yyyy" />
</h:outputText>
| |
|
| Chico,
We use this:
<jsp:useBean id="now" class="java.util.Date" />
<fmt:formatDate value="${now}" dateStyle="long"/>
This even works for different languages...
| |
|
|
I'm using JSF and looks like <fmt does not work with jsf
thanks
|
|
|
|
|