fmt:timeZone tag
fmt:timeZoneThe tag is used to specify a time zone for use by other tags.
Syntax format
property
fmt:timeZoneThe tag has the following attributes:
| property | Description | Whether it is required | Default value |
|---|---|---|---|
| value | Timezone | Is | None |
Example Demonstration
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
JSTL fmt:timeZone 标签
Formatting:
The running result is as follows:

JSP Standard Tag Library