Running node in UTC instead of local timezone
David Wippel
Posted on January 28, 2019
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
💖 💪 🙅 🚩
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.