Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Toasted Bacon
Added: Apr 13, 2018 5:48 PM
Views: 19
Tags: date format jstl
Change the pattern by editing accordingly.
  1. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  2. ...
  3. <fmt:formatDate value="${activity[4]}" pattern="yyyy-MM-dd HH:mm:ss" />
  4.