Questions tagged [timezone]

A time zone is a region on Earth that has a uniform standard time for legal, commercial, and social purposes. It is convenient for areas in close commercial or other communication to keep the same time, so time zones tend to follow the boundaries of countries and their subdivisions.

Most of the 40 time zones on land are offset from Coordinated Universal Time (UTC) by a whole number of hours (UTC−12 to UTC+14), but a few are offset by 30 or 45 minutes. Some higher latitude countries use daylight saving time for part of the year, typically by changing clocks by an hour. Many land time zones are skewed toward the west of the corresponding nautical time zones. This also creates a permanent daylight saving time effect.

More information in the timezone tag wiki on StackOverflow.

200 questions
6
votes
1 answer

Why do I need to use systemd to set my timezone in RHEL7?

I used to be able to edit /etc/sysconfig/clock, but now I need to use timedatectl, which I believe is a systemd command. What has that got to do with booting the system?
aaa90210
  • 351
  • 6
  • 15
5
votes
1 answer

OpenShift: Cronjob is executed in wrong timezone despite master configuration is correct

I have a configured a cronjob in OpenShift. Its crontab entry looks like this: spec: schedule: "0 3 * * 1-5" jobTemplate: So it should run at 03:00 in the morning on weekdays. All cluster nodes are configured to use our local timezone, CET,…
simonszu
  • 343
  • 5
  • 14
5
votes
3 answers

Weird CentOS server behavior time zones

I have purchased a CentOS 6.8 dedicated server to migrate from shared hosting, and I'm having trouble with the time zones not displaying properly. I have changed the php.ini time zone to Europe/Dublin - it didn't work I have changed the httpd.conf…
5
votes
1 answer

Windows Server 2008 R2 system time randomly resets to 4 hours in the past

I am having a problem where the time randomly jumps to 4 hours in the past. As a result, none of the scheduled tasks (such as backups) happen at the correct time, and some time-critical applications we are using (such as an accounting system) do not…
dssvo
  • 51
  • 1
  • 1
  • 2
5
votes
3 answers

Where is the UTC timezone in CentOS?

I was running the CentOS installer, and was surprised that I couldn't find UTC when prompted for the timezone. The only available choices are: Etc/GMT Etc/GMT±[1-12] Etc/UTC However, I recently learned that Etc/UTC is not the same as UTC. So why…
BenMorel
  • 4,215
  • 10
  • 53
  • 81
5
votes
3 answers

Cannot run logwatch due to Date::Manip issue

I tried to run logwatch at follows [root@machine cron.daily]# ./0logwatch ERROR: Date::Manip unable to determine TimeZone. Execute the following command in a shell prompt: perldoc Date::Manip The section titled TIMEZONES describes valid…
Quintin Par
  • 4,293
  • 10
  • 46
  • 72
5
votes
4 answers

PHP date.timezone warning

I keep getting this error: Message: date() [function.date]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those…
JT White
  • 185
  • 1
  • 1
  • 6
5
votes
2 answers

ntpdate: no server suitable for synchronization found

[root@myHost default]# ntpdate -d pool.ntp.org 15 Apr 11:21:18 ntpdate[6331]: ntpdate 4.2.0a@1.1190-r Thu Feb 24 20:39:57 EST 2011 (1) Looking for host pool.ntp.org and service ntp host found :…
jasy
  • 73
  • 1
  • 2
  • 4
5
votes
2 answers

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

In Chile the case is very particular as the days of daylight saving changes are different a year from another... Is there a function to get for given day at given UTC time the UTC offset? I saw on a Suse documentation that something like zdump -v…
Philippe Gachoud
  • 1,517
  • 15
  • 20
4
votes
1 answer

Docker - Timezones in containers not same as on host

In all my running docker containers the containers system time is set to UTC whereas on my host (debian) its CEST. Why dont they sync automaticly? How do i make them set the right time when bringing them up? root@v2201510680628925:/home/jacob#…
haemse
  • 181
  • 1
  • 2
  • 9
4
votes
1 answer

CentOS keeps losing its localtime setting?

I'm running an extremely typical CentOS 6.5 server at DigitalOcean. As part of the site setup, I've changed /etc/localtime to something appropriate for me: rm /etc/localtime ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime This works…
Jim Miller
  • 713
  • 2
  • 11
  • 23
4
votes
1 answer

How to update/install zoneinfo timezone database on CentOS?

I'm trying to update my timezone database, on CentOS, the database located at /usr/share/zoneinfo. I downloaded the time zone data from IANA here: http://www.iana.org/time-zones I tried editing the 'make' file and executing that, but got several…
user2044774
  • 81
  • 1
  • 3
  • 8
4
votes
4 answers

Debian change system timezone to Windows equivalent

i'm almost new to linux, so, here is my situation, i have a pc with debian 6 and Webmin 1.570 installed(the easy way), and i want to change the system timezone, i know that in windows server, i'm on (GMT-05:00) Eastern Time(USA & Canada) but i…
Castro Roy
  • 265
  • 1
  • 7
  • 17
4
votes
3 answers

Where does Cron checks the time zone on Debian?

I have seen number of topics that are related to my question, but non of them answers it. Where does Cron look-up the time zone ? root@awesome:~# date Fri Feb 17 14:02:02 EET 2012 root@awesome:~# hwclock -r Fri 17 Feb 2012 14:03:39 EET -0.815689…
Katafalkas
  • 523
  • 2
  • 8
  • 20
4
votes
1 answer

Timezone modifications, where DST is officially cancelled

I'm at Cairo-Egypt, so my Linux machine switched the time from GMT+2 to GMT+3 just this night as it does each year at this date, for the DST starts today. But in Cairo that DST was canceled just this year, and this affects systems everywhere to…
doc_id
  • 1,499
  • 2
  • 12
  • 17
1 2
3
13 14