111
JSTL Formatting <fmt:formatDate> Tag
The <fmt:formatDate> tag is used for different formats of date and time using the supplied pattern and styles. It is used to format the time and date according to the customized formatting pattern.
The syntax used for including the <fmt:formatDate> tag is:
Let’s see the simple example to understand the formatting <fmt:formatDate> tag:
Output:
Next TopicJSTL XML tags