Difference between revisions of "Timezone"
From Teknologisk videncenter
m |
m |
||
| Line 1: | Line 1: | ||
Setting timezone | Setting timezone | ||
| − | + | =Ubuntu= | |
| + | {{:timezone/Ubuntu}} | ||
=FreeBSD= | =FreeBSD= | ||
{{:timezone/FreeBSD}} | {{:timezone/FreeBSD}} | ||
Latest revision as of 08:54, 30 July 2023
Setting timezone
Ubuntu
See datetime settings:
$ timedatectl
Local time: Sun 2023-07-30 07:56:25 UTC
Universal time: Sun 2023-07-30 07:56:25 UTC
RTC time: Sun 2023-07-30 07:56:26
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: noSetting local timezone. See /usr/share/zoneinfo directory for paths to zoneinfo files.
$ sudo timedatectl set-timezone Europe/Copenhagen
$ timedatectl
Local time: Sun 2023-07-30 09:58:31 CEST
Universal time: Sun 2023-07-30 07:58:31 UTC
RTC time: Sun 2023-07-30 07:58:32
Time zone: Europe/Copenhagen (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: noLinks
FreeBSD
cp /usr/share/zoneinfo/Europe/Copenhagen /etc/localtime