Does Raspbian automatically change time for DST? - Raspberry Pi Forums
hi
i'm running installation raspbian installed several months. during time, clocks go 1 hour (daylight saving time in uk). running time rtc (eg. have no internet access on rpi), , wondering if knows whether automatically compensate daylight saving time?
i'm running installation raspbian installed several months. during time, clocks go 1 hour (daylight saving time in uk). running time rtc (eg. have no internet access on rpi), , wondering if knows whether automatically compensate daylight saving time?
yes.
system clock in linux set gmt* (cut). 'date' command , else display in local time based on timezone settings. settings include dst settings , change displayed time match. don't need anything.
try these commands see happens displayed time (my timezone gmt/bst) note specify gmt example dates/times , displayed local time time of year.
*it possible have internal clock set local time. option allow dual-boot operating systems required clock set local time.
system clock in linux set gmt* (cut). 'date' command , else display in local time based on timezone settings. settings include dst settings , change displayed time match. don't need anything.
try these commands see happens displayed time (my timezone gmt/bst)
code: select all
pi@raspi2 ~ $ date -d '2015-06-30 12:00 gmt' tue jun 30 13:00:00 bst 2015 pi@raspi2 ~ $ date -d '2015-12-30 12:00 gmt' wed dec 30 12:00:00 gmt 2015
*it possible have internal clock set local time. option allow dual-boot operating systems required clock set local time.
raspberrypi
Comments
Post a Comment