Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Date pattern format problem JSTL tags  RSS feed

 
lalitha prasad
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

Sometimes i am facing the problem while displaying the data in my dashboard jsp page.It is showing the date as "2006-07-12" format.Sometimes it is showing as '07/12/2006'. I have used the following code to show the date in MM/dd/yyyy format.

<fmt:formatDate value="${transaction[1].meetingDate}" pattern="MM/dd/yyyy" />

Here 'meetingDate' datatype is java.util.Date.

But i am not able to see the date correctly at all times. Please help me in this regard.

Thanks in Advance,
LALITH
[ November 08, 2006: Message edited by: lalitha prasad ]
 
lalitha prasad
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I got the issue. Problem with Locale settings.

Thanks,
LALITH
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!