• Post Reply Bookmark Topic Watch Topic
  • New Topic

<fmt:parseDate pattern> problem

 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to display the date and time in yyyy-mm-dd hh:mm format.
So i am using



but i am getting:2014-05-13 18:00:16
i don't need the millisecond part...

please suggest.

Thanks
Amarshi
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65519
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
m == minute not month

You can't use <c:out> as the attribute of another tag. just use the EL expression.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!