Javatpoint Logo
Javatpoint Logo

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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA