2018-10-14 11:09:00 -04:00
|
|
|
---
|
|
|
|
layout: doc
|
2018-10-14 15:36:29 -04:00
|
|
|
title: Changing your Time Zone
|
|
|
|
permalink: /doc/change-time-zone/
|
2018-10-14 11:09:00 -04:00
|
|
|
---
|
|
|
|
|
2018-10-14 15:36:29 -04:00
|
|
|
# Changing your Time Zone #
|
2018-10-14 11:09:00 -04:00
|
|
|
|
|
|
|
## Qubes 4.0 ##
|
|
|
|
|
2018-10-14 15:36:29 -04:00
|
|
|
### Command line ###
|
|
|
|
|
2018-10-14 11:09:00 -04:00
|
|
|
If you use the i3 window manager or would prefer to change the system's time
|
|
|
|
zone in terminal you can issue the `timedatectl` command with the option
|
|
|
|
`set-timezone`.
|
|
|
|
|
|
|
|
For example, to set the system's time zone to Berlin, Germany type in a dom0
|
|
|
|
terminal:
|
|
|
|
|
2018-10-14 15:36:29 -04:00
|
|
|
$ sudo timedatectl set-timezone 'Europe/Berlin'
|
2018-10-14 11:09:00 -04:00
|
|
|
|
|
|
|
You can list the available time zones with the option `list-timezones` and show
|
|
|
|
the current settings of the system clock and time zone with option `status`.
|
|
|
|
|
|
|
|
Example output status of `timedatectl` on a system with time zone set to
|
|
|
|
Europe/Berlin:
|
|
|
|
|
2018-10-14 15:36:29 -04:00
|
|
|
[user@dom0 ~]$ timedatectl status
|
|
|
|
Local time: Sun 2018-10-14 06:20:00 CEST
|
|
|
|
Universal time: Sun 2018-10-14 04:20:00 UTC
|
|
|
|
RTC time: Sun 2018-10-14 04:20:00
|
|
|
|
Time zone: Europe/Berlin (CEST, +0200)
|
|
|
|
Network time on: no
|
|
|
|
NTP synchronized: no
|
|
|
|
RTC in local TZ: no
|
2018-10-14 11:09:00 -04:00
|
|
|
|