Setting the timezone

From Alpine Linux
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Please note: Only for NON uclibc installs

glibc based installs use different timezone setup.

apk add tzdata
ls /usr/share/zoneinfo

(Suppose you want to use Brussels) (First copy the proper zone to localtime)

cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime

(Now specify your timezone)

echo "Europe/Brussels" >  /etc/timezone
date
Wed Mar  8 00:46:05 CET 2006