查看系統現況時間
$ date
查看系統時區資訊
$ cat /etc/timezone
Asia/Taipei
設定時區: None of the above -> UTC
$ sudo dpkg-reconfigure tzdata
將相關服務都重啟,像是 Web server 有用到 PHP-FPM 就要重啟動,這樣 PHP 環境才會拿到正確的時間
查看系統現況時間
$ date
查看系統時區資訊
$ cat /etc/timezone
Asia/Taipei
設定時區: None of the above -> UTC
$ sudo dpkg-reconfigure tzdata