# Tag
[JSP Standard Tag Library](#)
The tag is used to copy a time zone object to a specified scope.
### Syntax Format
<fmt:setTimeZone value="" var="" scope=""/>
### Attributes
The tag has the following attributes:
| **Attribute** | **Description** | **Required** | **Default Value** |
| --- | --- | --- | --- |
| value | Time zone | Yes | None |
| var | Variable name to store the new time zone | No | Replace default |
| scope | Scope of the variable | No | Page |
* * *
## Example
JSTL fmt:setTimeZone Tag<c:set var="now" value="" />
Current Time Zone Time:
Change to GMT-8 Time Zone:
Date in Changed Zone:
The output is as follows:
Current Time Zone Time: June 26, 2016, 11:34:05 AM
Change to GMT-8 Time Zone:
Date in Changed Zone: June 25, 2016, 7:34:05 PM
* * JSP Standard Tag Library](#)