# Zone Hour in node Function

**URL:** https://forums.losant.com/t/zone-hour-in-node-function/4606
**Category:** Help
**Tags:** workflow
**Created:** [June 21, 2022, 7:00pm UTC](https://forums.losant.com/t/zone-hour-in-node-function/4606 "2022-06-21T19:00:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jonathan\_Calderon](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jonathan\_Calderon](https://forums.losant.com/u/Jonathan_Calderon)
#### Post date: [June 21, 2022, 7:00pm UTC](https://forums.losant.com/t/zone-hour-in-node-function/4606/1 "2022-06-21T19:00:13Z")

</div>

Hello Losant Team!

My users come from different countrys and with them a lot of different zone hours. My question is if i use a “Node Function” in a workflow that contain the next code line.  
let date = New Date().getDate()  
What zone hour get? Mdn say that getDate() return the LOCAL date based in the LOCAL TIME but i am not sure what date return in the Workflow.

I hope I was clear  
Thanks 🙂

---

<div class="post-metadata">

### Author: ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)
#### Post date: [June 21, 2022, 8:34pm UTC](https://forums.losant.com/t/zone-hour-in-node-function/4606/2 "2022-06-21T20:34:30Z")

</div>

Workflows run in Losant’s infrastructure, which is configured for UTC (offset = 0). You can test this by using [getTimezoneOffset](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset).

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/0/02e27b6cc6a129c94e9b6a81bdebd18ebc2a2982.png)

---

<div class="post-metadata">

### Author: ![Jonathan\_Calderon](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jonathan\_Calderon](https://forums.losant.com/u/Jonathan_Calderon)
#### Post date: [June 23, 2022, 7:02pm UTC](https://forums.losant.com/t/zone-hour-in-node-function/4606/3 "2022-06-23T19:02:31Z")

</div>

Thanks Brandon, I really appreciate your response. 🙂
