g List
Subject: Re: Struts Date Formatting
-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 format
-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
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
Hallo,
I would like to find a struts tag that can do date formatting for me?
I tried to do it within my objects but it keeps on giving me exceptions
Code used.
String date_ = "2007-03-07 00:00:00"
SimpleDateFormat formatter = new SimpleDateFormat("dd MMM ");
return formatter.format(date_);
4 matches
Mail list logo