You can use the tz and utc/noutc boot codes and the tzdata extension (see info file).
Thanks Juanito for your feedback. However, I still can't figure out how to change this. I've been searching for a quite some time but still can't find clear documentation on how to change this.
This is the one of them, but it's not so clear.. where to change it, which file, etc.
How To Set the Timezone?
If you live where in an area that has DST then you need to use the full specific ation for the tz variable. Indicating both the begin and end of DST.
For example mine tz boot code is: tz=PST+8PDT,M3.2.0/2,M11.1.0/2
In the above DST clause PDT,M3.2.0/2,M11.1.0/2
M3 = month nbr (1-12)
2 = week nbr (1-5)
0 = day of week (0-7)
/2 = time
So for PDT it begins March second Sunday at 2AM and end November first Sunday at 2AM.
For more info see this post on the forums.
This is another info that I get during tzdata.tcz installation. I've tried all the possible suggestions, but it didn't work.
tce-ab - Tiny Core Extension: Application Browser
S)earch P)rovides K)eywords or Q)uit:
Enter starting chars of desired extension, e.g. abi: tz
To change the tz on the fly, just
To search the possible TZ values, use
This build has no dependencies. Modifications:
sets LOCALTIME=UTC (instead of GMT)
sets tzselect to use /bin/sh (instead of /bin/bash)
ln -s /usr/share/zoneinfo* /usr/local/etc/zoneinfo*
If the tz bootcode is used, this extension creates /etc/localtime
as a link to the corresponding file in /usr/local/share/zoneinfo.
Thu Feb 23 05:52:30 UTC 2017
Thu Feb 23 05:52:36 UTC 2017
This is the only one that works fine. However, the time will be change to UTC after I rebooted it. I tried to put it on bootlocal.sh but didn't work too.
Thu Feb 23 05:53:20 UTC 2017
tc@box:~$ export TZ=America/Chicago
Wed Feb 22 23:53:22 CST 2017
Command not found?
tc@box:~$ sudo /usr/local/etc/tzselect
sudo: /usr/local/etc/tzselect: command not found