Zone Hour in node Function

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 :slight_smile:

Workflows run in Losant’s infrastructure, which is configured for UTC (offset = 0). You can test this by using getTimezoneOffset.

1 Like

Thanks Brandon, I really appreciate your response. :slight_smile: