Name
<fmt:timeZone>
Synopsis
The <fmt:timeZone>
action establishes the time zone
for actions in its body.
Syntax
<fmt:TimeZone value="timeZone
">JSP elements
</fmt:timeZone>
Attributes
Attributename |
Java type |
Dynamic valueaccepted |
Description |
---|---|---|---|
value |
|
Yes |
The time zone. If specified as a |
Example
<fmt:timeZone value="America/Los Angeles"> <fmt:formatDate value="${now}" type="both" /> </fmt:timeZone>
Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.