1 Reply Latest reply on Dec 7, 2009 6:29 AM by Nick Belaevski

    Date Pattern creating a pdf with iText

    dario catani Newbie

      Hi, i'm generating a pdf file using iText.
      My date records have a format i don't like. So can anybody knows how to help me formatting the date format?
      an example of my code is:

       <p:cell>
       <p:paragraph alignment="right">Date of prescription: </p:paragraph>
       </p:cell>
       <p:cell>
       <p:paragraph alignment="left">
       <p:font style="bold">#{currentPrescription.lastUpdate} </p:font>
       </p:paragraph>
       </p:cell>