2019-09-15 14:42:17 -04:00
|
|
|
---
|
2026-08-13 04:08:39 +00:00
|
|
|
title: Time zones
|
2023-07-24 23:58:25 -06:00
|
|
|
category: tutorials
|
2026-08-13 04:08:39 +00:00
|
|
|
author:
|
|
|
|
|
- keyboardan
|
2019-09-15 14:42:17 -04:00
|
|
|
---
|
|
|
|
|
|
2026-08-13 04:08:39 +00:00
|
|
|
The time zone by default on the server is UTC.
|
2019-09-15 14:42:17 -04:00
|
|
|
|
|
|
|
|
If you want to make it so that your shell prints out dates in localtime for you, run `tzselect`
|
2026-08-13 04:08:39 +00:00
|
|
|
to find the correct time zone name that you'll need to export as the `TZ` environment variable.
|
2019-09-15 14:42:17 -04:00
|
|
|
|
|
|
|
|
for example, if you're in eastern time, add something like this
|
|
|
|
|
`export TZ="America/Detroit"`
|
|
|
|
|
|
2020-04-12 21:47:42 -07:00
|
|
|
to your `.bashrc`
|