4 Replies Latest reply on Dec 11, 2007 11:25 AM by mars1412

    JBoss EL date formatting

    Manuel Martin Newbie

      Supose that I got a localized message like that

      message = My date is #{myDate}

      and myDate is a session Date var.

      When I print the message #{messages['message']} I got the next output:

      My date is 2007-11-27 12:22:46.338

      Is there any method to format the output of the date? I would like obtain

      My date is 2007-11-27.

      Thanks in advance!