0 Replies Latest reply on Sep 14, 2006 7:06 AM by milestone

    newbie question format a date

    milestone

      Hi all,

      I have just started with seam, and now I have a Problem converting dates to the correct form. I have tried:

      <td>
       <h:inputText value="#{specification.creation}">
       <f:convertDateTime pattern="dd.MM.yy hh:mm" />
       </h:inputText>
       <input name="" type="text" value="#{specification.creation}" readonly="true" jsfc="h:inputText"/>
       </td>
      


      but they both render the date as

      Thu Sep 14 12:56:43 CEST 2006


      Can anyone please help?