See the API documentation for java.text.SimpleDateFormat (if I understand your problem correctly).

Erik

Erik Weber wrote:

<bean:write name="product" property="creationDate" format="MM/dd/yyyy"/>

for example . . .


Jean-Michel Robinet wrote:

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





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to