<jsp:useBean id="now" class="java.util.Date" /> <fmt:formatDate value="${now}" type="both" dateStyle="long" pattern="yyyy-MM-dd HH:mm:ss" />