See the JavaDoc for java.text.SimpleDateFormat. One possibility: <bean:write name="product" property="creationDate" format="MM-dd-yyyy" />
Quoting Jean-Michel Robinet <[EMAIL PROTECTED]>: > Hello, > > > > Is it possible to format a date stored in a Date object using a <bean: > write> tag? > > I use the following but it's not working: > > <bean:write name="product" property="creationDate" > format="##-##-####" /> > > > > Thanks in advance. > > /jm -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]