Name

Time Zone

Synopsis

The time zone configuration setting provides a default time zone for the JSTL actions formatting and parsing dates. String values for the time zone setting must be of the type defined for the java.util.TimeZone class: an abbreviation, a full name, or a GMT offset.

Details

Variable name:

javax.servlet.jsp.jstl.fmt.timeZone

Java constant:

Config.FMT_TIME_ZONE

Java type:

String or java.util.TimeZone

Set by:

<fmt:setTimeZone>, context parameter or custom code

Used by:

<fmt:formatDate> and <fmt:parseDate>

Get JavaServer Pages, 3rd 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.