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.

203 questions
11
votes
1 answer

server restart after timezone change

Is it required that the server should be rebooted once I change the time? I ran into trouble when I changed the datetime and did not restart crond. Is there any other service that may have issues after time change?
shantanuo
  • 3,579
  • 8
  • 49
  • 66
11
votes
6 answers

Local timezones on servers considered harmful?

I'm curious as to what other administrators' experiences with timezones, in the context of remotely administered servers, are. In my career I've come across several conventions; Always, always, always use UTC. Always, always, always use the…
colmmacc
  • 173
  • 6
10
votes
4 answers

Execute copy and set only if something changed

For Ansible, I have a role that sets the time zone and populates the setting the (Ubuntu) base system, - name: set timezone copy: content='Europe/Berlin' dest=/etc/timezone owner=root group=root mode=0644 …
Nico Schlömer
  • 215
  • 1
  • 2
  • 8
9
votes
1 answer

how to use TimeZone with Cron tab

I run a job at specific date[Client time not local time] to send email to my clients. I use cpanel cron job i tried to use cron job with time zone but it still sending in my local time zone 32 16 08 05 * /usr/bin/curl CRON_TZ=Africa/Algiers…
Salem Ahmed
  • 193
  • 1
  • 1
  • 4
9
votes
2 answers

outlook 2016 (office 365) using incorrect time zone for emails

I have two users in Taipei time zone. Both are using PCs with system time correctly set to Taipei time. Both have an Office 365 E3 Enterprise account on the same tenant and have Office 2016 installed. Both use Outlook 2016 for their email needs and…
9
votes
7 answers

A cron replacement that handles multiple time zones

I am looking for a cron replacement (or a method in cron if at all possible) that can allow for the scheduling of jobs in any number of time zones (specifically more than one per user/file). What I would like is the ability to specify a time zone…
mgray
  • 93
  • 1
  • 4
9
votes
3 answers

Managing multi-timezone servers

What would be an ideal time and timezone setup for multi-country servers? Especially considering one central IT team managing these servers. Currently we have each server using a local timezone. e.g. servers in the Chinese datacenter are set with…
Alex
  • 1,828
  • 4
  • 31
  • 52
8
votes
2 answers

Red hat Linux + TIME ZONE CONFIGURATION + details from clock file

In order to configure the Time Zone on red hat Linux machine ( version 5 and 6 ) need to configure the file: /etc/sysconfig/clock And create a symbolic link between /etc/localtime to /usr/share/zoneinfo/America/New_York but /etc/sysconfig/clock…
dandan
  • 1,081
  • 4
  • 13
  • 21
8
votes
3 answers

Alpine Linux timezone doesn't stick if tzdata is removed

This used to work to set the timezone. I have a container on Alpine 3.9.4 where it worked: RUN apk add --no-cache tzdata ENV TZ America/Chicago RUN apk del tzdata I'm now creating a Docker container with Alpine Linux v3.10.3, and it doesn't work…
mbomb007
  • 185
  • 1
  • 7
7
votes
2 answers

Setting timezone to UTC in unattended install

In FreeBSD, I'd like to set the timezone to UTC in an unattended way. If I run tzsetup, and select "yes" and "a" in the dialogs, for choosing UTC, I see that there are no /etc/localtime files present. So if I want to set up UTC on a server in an…
hyperknot
  • 701
  • 2
  • 9
  • 16
7
votes
7 answers

Why is the time messed up on my Ubuntu Server VPS?

A month back loads of services on my VPS stopped working. After messing about for an hour or so i worked out that the time had frozen. I gather it was some sort of virtualization bug and a reboot soon fixed it. However, today I was trying to run my…
Tim
  • 199
  • 1
  • 7
7
votes
2 answers

Timezone for cron jobs

We have a VDS running CentOS 5.5 that was created and configured with the EDT timezone. I have replaced etc/localtime with a link pointing to the Australia/Melbourne (UTC+10) timezone file. Running the date command displays the correct date and…
John Gardeniers
  • 27,458
  • 12
  • 55
  • 109
7
votes
4 answers

Why does "find -mtime" not work as expected on files with different timezones?

I have some files on a server with the date several months ago, but they are invisible to find -mtime 7 search. When I list them with ls -l, they look perfectly normal: -rw-r--r-- 1 root root 347253 Jun 12 16:26…
Vladislav Rastrusny
  • 2,671
  • 12
  • 42
  • 56
6
votes
2 answers

CentOS not considering daylight saving on timezone

In Brazil, this year, the president decided we should not have daylight saving. And because of that my Centos 8 server is with the time wrong, I mean, when I use date the time shown is wrong by 1 hour. Usually, when I set my server I execute…
Samul
  • 308
  • 2
  • 12
6
votes
0 answers

Why doesn't "timedatectl list-timezones" list ALL timezones?

Why does timezonectl not list all timezones available? $ timedatectl ⋮ Timezone: UTC (UTC, +0000) ⋮ $ timedatectl list-timezones | grep -i utc -no output- $ timedatectl list-timezones | wc -l 417 ls /usr/share/zoneinfo includes UTC,…
Isius
  • 284
  • 1
  • 4
  • 15
1
2
3
13 14