# Add Date.setTimeZone('Asia/Calcutta') static method

**URL:** <https://es.discourse.group/t/add-date-settimezone-asia-calcutta-static-method/1014>\
**Category:** 💡 Ideas\
**Tags:** proposal\
**Created:** [October 11, 2021, 4:21pm UTC](https://es.discourse.group/t/add-date-settimezone-asia-calcutta-static-method/1014 "2021-10-11T16:21:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed-Umair](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/syed-umair/32/1055_2.png) [@Syed-Umair](https://es.discourse.group/u/Syed-Umair)\
**Post date:** [October 11, 2021, 4:21pm UTC](https://es.discourse.group/t/add-date-settimezone-asia-calcutta-static-method/1014/1 "2021-10-11T16:21:09Z")

</div>

Hi Team,  
I would like to add `Date.setTimeZone(<IANA TimeZone>)` static method to Date Data structure in the next version of ECMAScript, This will be really helpful to set the timezone for the whole global context and since most of the apps are dealing with applications that need to use timezone different from local timezone since we started working from home. I would appreciate your feedback on this.

Thanks

---

<div class="post-metadata">

**Author:** ![moriken](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/moriken/32/2577_2.png) [@moriken](https://es.discourse.group/u/moriken)\
**Post date:** [October 12, 2021, 3:59am UTC](https://es.discourse.group/t/add-date-settimezone-asia-calcutta-static-method/1014/2 "2021-10-12T03:59:30Z")

</div>

In Stage 3 Temporal, the time zone must be explicitly specified using `Temporal.TimeZone` instead of the global context.

[https://tc39.es/proposal-temporal/docs/](https://tc39.es/proposal-temporal/docs/)

If you really want to change the global context, you can join the discussion on Stage 1 Compartments.

> **[GitHub - tc39/proposal-compartments: Compartmentalization of host behavior...](https://github.com/tc39/proposal-compartments)**
>
> Compartmentalization of host behavior hooks for JS - GitHub - tc39/proposal-compartments: Compartmentalization of host behavior hooks for JS

---

<div class="post-metadata">

**Author:** ![claudiameadows](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/claudiameadows/32/126_2.png) [@claudiameadows](https://es.discourse.group/u/claudiameadows)\
**Post date:** [October 12, 2021, 10:31am UTC](https://es.discourse.group/t/add-date-settimezone-asia-calcutta-static-method/1014/3 "2021-10-12T10:31:46Z")

</div>

I like the idea, but as an instance method, not a global method.
