6
votes
Accepted
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 ...
5
votes
Accepted
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 ...
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]:
#!/...
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
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
utc × 17timezone × 6
linux × 5
time × 5
ntp × 4
date × 4
windows-server-2008 × 2
redhat × 2
cron × 2
domain-name-system × 1
centos × 1
active-directory × 1
debian × 1
windows-server-2008-r2 × 1
logging × 1
bind × 1
switch × 1
time-synchronization × 1
clock-synchronization × 1
debian-etch × 1
daylight-saving × 1
tai × 1