the JSTL format parseDate tag will do the trick for you

-----Original Message-----
From: Swish [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 05, 2003 7:34 PM
To: Struts Users Mailing List
Subject: Date format question



Hello,

I was wondering if there is a way to use the <bean:write > tag to convert a
string in sql time stamp format to a format of my choosing. I believe one
can write a Date object out using <bean:write ...format="dd/MM/yyyy"/>, but
can I convert a string "2002-12-25 00:00:00" to 12/25/2002.  Thanks in
advance for your suggestions!!!



---------------------------------
Post your free ad now! Yahoo! Canada Personals


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

Reply via email to