Running node in UTC instead of local timezone

kelkes

David Wippel

Posted on January 28, 2019

Running node in UTC instead of local timezone

Set the env variable TZ to utc to run a node process in UTC instead of your local timezone. This enables debugging DateTime issues locally because servers often run in UTC.

e.g. TZ=utc node index.js

💖 💪 🙅 🚩
kelkes
David Wippel

Posted on January 28, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related