0

i used formatdate as follow

<p>Formatted Date (4): <fmt:formatDate type="both"  dateStyle="short" timeStyle="short" value="${eventDetailList.activityTime}" /></p>

but not working,don't display anything in all page but this work

<c:set var="now" value="<%=new java.util.Date()%>" />
<p>Formatted Date (4): <fmt:formatDate type="both"  dateStyle="short" timeStyle="short" value="${now}" /></p>

i want to get time this format 23/09/16 14:27

0 Answers0