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 Android Security Essentials Live Lessons this week in the Android 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
How to fetch Date Field from excel sheet in Java
problem while inserting date field in oracle data base
Problems handling the Date Class.
Convert String to Date format
Date Format Issue