RE: Struts Date Formatting

2007-03-07 Thread Neil Meyer
uot;http://java.sun.com/jstl/fmt"; prefix="fmt" %> but I did not use it yet will probably look at it later for more options to do this in future. Kr Neil Meyer -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 07 March 2007 07:24 PM To: Struts Users Mailin

Re: Struts Date Formatting

2007-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Neil Meyer wrote: > Code used. > > String date_ = "2007-03-07 00:00:00" > SimpleDateFormat formatter = new SimpleDateFormat("dd MMM "); > return formatter.format(date_); SimpleDateFormat.format() is expecting a java.util.Date argument, no

Re: Struts Date Formatting

2007-03-07 Thread Nuwan Chandrasoma
hi, you can use, with the format attribute. eg:- Regards, Nuwan - Original Message - From: "Neil Meyer" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 07, 2007 4:19 PM Subject: Struts Date Formatting Hallo, I would like to find a struts tag that ca