Jakarta DATETIME Taglib Example


<%@ taglib uri="http://jakarta.apache.org/taglibs/datetime-1.0" prefix="dt" %> <%@ taglib uri="http://jakarta.apache.org/taglibs/request-1.0" prefix="req" %>

You selected the timezone:

The local current time is:

Setting the timezone for this session:

The current time at

The current time at in a different format:

Parse the date you selected using the parse tag:



The date you selected was: