Debian Jessie: configure timezone using cli
Using timedatectl
To list timezone:
# timedatectl list-timezones | grep Jakarta
Asia/Jakarta
To set timezone:
# timedatectl set-timezone Asia/Jakarta
To show (or # timedatectl status):
# timedatectl
Local time: Tue 2017-04-04 07:33:53 WIB
Universal time: Tue 2017-04-04 00:33:53 UTC
RTC time: Tue 2017-04-04 00:33:53
Time zone: Asia/Jakarta (WIB, +0700)
NTP enabled: no
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
tzconfig deprecated
# tzconfig --help
WARNING: the tzconfig command is deprecated, please use:
dpkg-reconfigure tzdata
References:
No comments:
Post a Comment