WebSphere Portal Server - Date format help

This is Interesting: Free IT Magazines  
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]

Author Date format help

2006-05-02, 7:19 pm





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>

2006-05-02, 7:19 pm

Chico,

We use this:
<jsp:useBean id="now" class="java.util.Date" />
<fmt:formatDate value="${now}" dateStyle="long"/>

This even works for different languages...

2006-05-02, 7:19 pm



I'm using JSF and looks like <fmt does not work with jsf


thanks
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com