2019-09-15 18:42:17 +00:00
|
|
|
---
|
|
|
|
title: time zones
|
2020-04-13 05:21:38 +00:00
|
|
|
category: tutorial
|
2019-09-15 18:42:17 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
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"`
|
|
|
|
|
2020-04-13 04:47:42 +00:00
|
|
|
to your `.bashrc`
|
2019-09-15 18:42:17 +00:00
|
|
|
|