GeeCON Prague 2014*
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
Author

Date Format

Imdad Soomro
Greenhorn

Joined: Jul 15, 2009
Posts: 16
Hi,

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.

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Date Format