JSTL Formatting <fmt:parseDate> Tag

The <fmt:parseDate> tag parses the string representation of a time and date. It is used to format the time and date according to a customized formatting pattern.

The syntax used for including the <fmt:parseDate> tag is:

Let's see the simple example to understand the formatting <fmt:parseDate> tag:

Output:

Parsed Date:

Fri Aug 12 00:00:00 IST 2016

JSTL Formatting Tags4