my dog learned polymorphism*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
Convert String to Date format
Date Format Issue
How to fetch Date Field from excel sheet in Java
Problems handling the Date Class.
problem while inserting date field in oracle data base