It's not a secret anymore!
The moose likes JSP and the fly likes Date Format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Date Format" Watch "Date Format" New topic

Date Format

Imdad Soomro

Joined: Jul 15, 2009
Posts: 16

I am using <fmt:formatDate value="${a.ToDate}" pattern="dd MMMM yyyy" /> date format to display date on my JSP page. Most of the times date is displayed correctly(i.e. 09 February 2011) but sometimes on Internet Explorer it displays date like
(2011-01-25 00:00:00.0). Can you please figure out that what could be the problem.

I agree. Here's the link:
subject: Date Format
It's not a secret anymore!