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
4
votes
2 answers

Server displays wrong UTC time

I am running a CentOS server and just cannot seem to set the time correctly. My problem is that I have set the timezone to UTC, and the server seems to acknowledge this but it still states the wrong time! The real UTC time = 16:56 (My local…
david
  • 43
  • 1
  • 1
  • 3
4
votes
3 answers

Changing the timezone on a RHEL5/CentOS system

How do I change the timezone on a RHEL5 system? I'm reading the instructions here - http://www.cyberciti.biz/faq/howto-linux-unix-change-setup-timezone-tz-variable/ But they seem very bold (altering the /etc/localtime file). Is this an acceptable…
siliconpi
  • 1,707
  • 6
  • 30
  • 45
4
votes
2 answers

How do I set a time zone for a crontab?

I would like to use UTC for the scheduling times in a crontab for a single user, regardless of the current time zone of the server. How do I do this on Debian Etch?
4
votes
2 answers

Docker container time 2 hours behind when TZ=CEST

I try to run a Docker container with the same timezone as my Docker host. The host timezone is CEST. When I run : $ date Thu Apr 16 11:04:11 CEST 2020 $ docker run -e TZ=CEST debian:buster date Thu Apr 16 09:04:14 CEST 2020 The container is 2 hours…
Eric Citaire
  • 181
  • 1
  • 9
3
votes
2 answers

FreeBSD: how to syncronize the system clock with the hardware clock in bash?

I am writing a script that synchronizes the system clock with the hardware clock (aka RTC, or CMOS clock) assuming that no Network Time Protocol (NTP) daemon is running. I am running in a virtual machine and the supervisor doesn't let the hardware…
3
votes
1 answer

PostgreSQL 7.4 => 8.1 migration: timezone issue

Okay, so I'm migrating Project Open to a new server (opensource project management system built on OpenACS which uses AOLServer) and ran into a very strange issue: importing a 7.4 dump automatically adjusts "timestamp with time zone" values to GMT…
KTamas
  • 559
  • 1
  • 8
  • 15
3
votes
2 answers

Should /etc/localtime be a symlink or a file?

When I first install a RHEL system, I select a timezone. Examining the /etc/localtime, I see that this is a copy of one of the files from /usr/share/zoneinfo. However, when I look into changing the timezone on a system, I see a split between copying…
Tim Timmerman
  • 49
  • 1
  • 3
3
votes
1 answer

Set User Time Zone by GPO on Windows Server 2012

I am trying to set the time zone of users in Windows Server 2012 by using a user GPO. To be more precise, I have an application which users can log into by RDP, what I am trying to do is when they log in to set the time zone of their locale. The…
Andy5
  • 147
  • 1
  • 3
  • 10
3
votes
1 answer

Server time is off by 5 minutes

I need to create a cron job to run a script. Changed the server timezone to Eastern following the first option in this guide. The timezone was changed successfully but when I run date I'm noticing that the time is about 5 minutes ahead of time.gov…
sixty4bit
  • 141
  • 1
  • 6
3
votes
1 answer

Why did my Windows Server 2012 R2 timezone change overnight?

When I logged into my workstation this morning, the timezone had been changed from Eastern to Pacific. In the event viewer I see the following three events, all at 4:12:15 AM. It looks like the timezone was not changed for the 1st and 2nd event but…
3
votes
3 answers

MDT 2012 - KeyboardLocale, SkipTimeZone don't work

I am trying out image deployment using MDT. IT is a wonderful tool to do lite-touch deployment, however the automation does not do exactly what I expected. eg. I have the following in the…
user1866880
  • 449
  • 5
  • 11
  • 20
3
votes
1 answer

Linux date translation to different time zone

The Linux server is hosted in EST timezone. But I want to translate the output of date command to IST(Indian Standard time +5:30 hrs) format and use it in a shell script. Is there any option available for date command to do this or have manually…
nitins
  • 2,527
  • 15
  • 42
  • 65
3
votes
1 answer

KVM guest time shift on host reboot

I have installed Ubuntu server 12.04 as a KVM host, and created an Ubuntu guest that is also running Ubuntu server 12.04. The servers are in the AST time zone which is UTC + 3 hours. After setting the time correctly in the guests using date -s I am…
3
votes
1 answer

How to change the timezone for a SmartOS Global Zone?

The SmartOS Global Zone defaults to the UTC timezone. I'd like to schedule some cron jobs, and I'd like them to automatically follow daylight saving time changes, without requiring me to manually change the UTC offset every time the daylight saving…
smokris
  • 685
  • 3
  • 13
  • 27
3
votes
2 answers

Override Daylight Savings Time configuration

All the computers on my network (2003 Server AD) are configured to get their Time updates from the PDC-Emulator. The PDC gets updates from time.windows.com. The system is in Israel where we have no standard rules for the change between…