Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<fmt:parseDate pattern> problem  RSS feed

 
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: 65826
134
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!