Hello,
If I use java.util.Date with the following piece os JSTL, it
works nicely. However, I need to format an instance of
(Gregorian)Calendar. I used Google to try to find the answer,
but found nothing.
fmt:formatDate
value=${myDate}
var=mmdd
type=date
PROTECTED]
Sent: 03 February 2004 13:04
To: [EMAIL PROTECTED]
Subject: Formatting (Gregorian)Calendar instances?
Hello,
If I use java.util.Date with the following piece os JSTL, it
works nicely. However, I need to format an instance of
(Gregorian)Calendar. I used Google to try to find the answer
Muuuchos gracias!
I didn't see that DategetTime() method in Calendar.
Thanks,
Otis
On Tue, 3 Feb 2004, Brian Buckley
([EMAIL PROTECTED]) wrote:
fmt:formatDatevalue=${myDate.time}
var=mmdd
type=date
pattern=-MM-dd/
Note the .time.
-Brian
Hello,
If
ps
i wrote too fast. It's myCalendar.time, not date, as Brian pointed.
sorry
-Original Message-
From: Felix Velasco [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 13:26
To: 'Tag Libraries Users List'
Subject: RE: Formatting (Gregorian)Calendar instances?
try:
fmt:formatDate
the equivalent java.util.Date instance
-Original Message-
From: otisg [mailto:[EMAIL PROTECTED]
Sent: 03 February 2004 13:04
To: [EMAIL PROTECTED]
Subject: Formatting (Gregorian)Calendar instances?
Hello,
If I use java.util.Date with the following piece os JSTL, it
works nicely