通过TZ来设置嵌入式ARM+Linux的时区

1、在/etc/profile或者/root/.profile(/home/username/.profile)

在其中加入:

TZ=UTC-08:00
export TZ
hwclock -s

原文地址:https://www.cnblogs.com/xuanyuanchen/p/6296383.html