전자정부표준프레임워크

[jstl] 오늘 날짜

yeon.Biju 2017. 3. 21. 06:59



<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>

<%//오늘 날짜 %>

<jsp:useBean id="toDay" class="java.util.Date" />

<fmt:formatDate value="${toDay}" pattern="yyyy/MM/dd" var="toDay" />