site/wiki/source/time-zone.md

16 lines
401 B
Markdown
Raw Normal View History

---
title: time zones
2020-04-13 05:21:38 +00:00
category: tutorial
---
The timezone by default on the server is UTC.
If you want to make it so that your shell prints out dates in localtime for you, run `tzselect`
to find the correct timezone name that you'll need to export as the `TZ` environment variable.
for example, if you're in eastern time, add something like this
`export TZ="America/Detroit"`
to your `.bashrc` .