Last Updated: February 25, 2016
·
392
· gelias

Checking daylight saving time ...

Once you need to check if your linux sever have daylight saving settings is correctly configured, do this:

$> zdump -v /etc/localtime | grep 2014

The correct result should be:

/etc/localtime  Sun Feb 16 01:59:59 2014 UTC = Sat Feb 15 23:59:59 2014 BRST isdst=1 gmtoff=-7200
/etc/localtime  Sun Feb 16 02:00:00 2014 UTC = Sat Feb 15 23:00:00 2014 BRT isdst=0 gmtoff=-10800

For any other result maybe something is configured wrong ! Lucky :-)

... thanks Joniel Pasqualetto by the tip!!