JSTL Formatting <fmt:setTimeZone> Tag

The <fmt:setTimeZone> tag store the time zone inside a time zone configuration variable. It is used for copy a time zone object inside a specified scope variable.

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

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

Output:

JSTL Formatting Tags6