Hot answers tagged

6 votes

Redhat Enterprise Linux 7: How to disable DST - Daylight Saving Time

You don't disable DST per se, you set the desired time zone, and you get DST if the time zone has DST. You can check the configured time zone with timedatectl. If your timezone has DST you'll see ...
Michael Hampton's user avatar
5 votes

Linux get UTC offset from current (or other) timezones on given date and time

You can use the date command. You set the timezone and then specify the date and time. The command will return that time with the -03 or -04, so you will know if DST was in effect. For example, for ...
Eduardo Trápani's user avatar
3 votes

Easy way to get the International Atomic Time on linux?

The answer with the "right/" timezone is incorrect. It is meant to convert from a system clock kept in TAI - 10s to UTC. Thus, the following gives the correct time in UTC, GPS, LOREN and TAI [1]: #!/...
bob's user avatar
  • 31
1 vote

Configure DNS logging Time zone to UTC

Copy cp /etc/localtime /var/lib/named/etc/localtime Change paths depending your chroot enviroment Should fix your problem
amprantino's user avatar
1 vote

How do I set a time zone for a crontab?

Some cron installations use CRON_TZ to set the per-user interpretation of the crontab times. Here's part of man 5 crontab on Centos 7: The CRON_TZ variable specifies the time zone specific for the ...
Dave X's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible