Home » JSTL fmt:formatdate Tag

JSTL fmt:formatdate Tag

by Online Tutorials Library

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:

JSTL Formatting Tags9

Next TopicJSTL XML tags

You may also like