Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

How can I change Zoom settings for all accounts to "Time Format Use 24 hour"?

How can I change Zoom settings for all accounts to "Time Format Use 24 hour" ? I have confirmed that I can change from profile for each account. However, doing this one at a time for every ...
user avatar
  • 1
0 votes
1 answer
22 views

Windows Time Zones

Linux (Unix) has a database where you can easily check for changes to a time zone. Just download https://www.iana.org/time-zones On Windows, all I can find is a blog https://techcommunity.microsoft....
user avatar
0 votes
0 answers
115 views

timedatectl: Failed to query server: Connection timed out

I have a VPS server (centos 7) with WHM/cPanel as well as root SSH access. Now I want to change the time zone of the server, but when I run the command timedatectl following message shows after some ...
user avatar
0 votes
1 answer
68 views

Run cron job in UTC when my server is in a different timezone

My server runs in the GMT timezone, which means it switches to British Summer Time in the summer. I want a cron job to run in UTC as it accesses an external service that runs in that timezone. i.e. In ...
user avatar
0 votes
2 answers
66 views

Timezone with 12h time format (AM/PM)

I have a problem with timezone in debian I need to set up zone with 12h format (AM/PM) throughout the system. Locale set to "en_US.UTF.8", output "date" command is correctly. Time ...
user avatar
  • 1
0 votes
1 answer
33 views

How can I acquire the timezone information about when a timezone change occurs

I need to know in advance when a timezone change will occur. I need to know when UK's GMT turns into BST and vice versa. I don't want to find out what my current timezone is and I don't want to change ...
user avatar
0 votes
0 answers
267 views

Questions about running postgres as Docker Container. 1. TimeZone, 2. global.stat

I'm been running postgres as a Docker Container for quite awhile. Initially, the TZ and PGTZ were not set, so I think it was defaulting to UTC. On my dev system I tried the following in docker-...
user avatar
  • 139
0 votes
0 answers
137 views

Cronjob execution based on different timezone (Ubuntu 18.04)

OS: Ubuntu 18.04 Cron: cron/bionic,now 3.0pl1-128.1ubuntu1 amd64 System timezone is: America/Los_Angeles (PST) I want to set timezone of an EXECUTION TIME (not the timezone for the script) for ...
user avatar
  • 1
0 votes
1 answer
102 views

OTRS 6: Errors flooding log file when daylight saving time showed up

I've got serious issue with otrs 6. Everything was working fine since yesterday, but today in my timezone we started daylight time saving (added one hour) And Log was flooded with Errors like this: [...
user avatar
  • 199
0 votes
0 answers
39 views

disabling DST time change or disabling zoneinfo file updates in Ubuntu

I am having Ubuntu 18 web server with MySQL database. We do calculation based on timezone. i read that changing the sever timezone to GMT+_7 we can solve the DST time changes, as i tried it already ...
user avatar
  • 101
3 votes
1 answer
68 views

Is it possible to create a synthetic Timezone GMT+20 in Windows 10?

I'm trying to create a synthetic timezone GMT+20 in Windows 10 (to test our software for extreme client-server TZ difference scenarios): $standardDisplayName = "(GMT+20:00) Synthetic 20" $...
user avatar
0 votes
1 answer
377 views

How do I change the time zone for mail.log files?

I'm using Debian buster. I changed the time zone with timedatectl and restarted postfix and dovecot but log records in mail.log are still showing UTC time. How do I fix this?
user avatar
  • 412
0 votes
0 answers
26 views

WordPress firewall displaying wrong time stamps

I set up Apache2, WordPress, and WordPress firewall plugin (NinjaFirewall) before adjusting my VPS' time zone. I have since then updated my time zone on my VPS, restarted Apache2 (and the whole server ...
user avatar
  • 1
0 votes
1 answer
58 views

CentsOS 6 returning wrong time

Our current local time is 22:35 11 Jun 2020 I have set the CentOS time zone to Asia/Kuwait [root@server etc]# ls -l /etc/localtime lrwxrwxrwx 1 root root 6 Jun 11 2020 /etc/localtime -> Kuwait ...
user avatar
  • 103
5 votes
2 answers
2k views

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 ...
user avatar
4 votes
2 answers
6k views

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 ...
user avatar
7 votes
1 answer
3k views

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 ...
user avatar
  • 171
2 votes
1 answer
575 views

What time zone does windows event logs show

I have a doubt on the time zone shown in the windows event logs. I had read that if I export the windows event logs from another machine and open it in my machine which has a different time zone, the ...
user avatar
6 votes
2 answers
525 views

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....
user avatar
  • 278
18 votes
2 answers
3k views

Invalid time zone 'UTC'

Listing the available timezones shows 'UTC' $ timedatectl list-timezones UTC Setting it to UTC fails claiming UTC is "invalid". $ timedatectl set-timezone UTC Failed to set time zone: Invalid time ...
user avatar
  • 333
0 votes
1 answer
826 views

Nginx logs for multiple timezones

In my nginx config, I have several servers block. Each block has its own access/error log in different path. server { server_name 1 access_log /path1/access_log <-- use UTC } server { ...
user avatar
  • 1
1 vote
2 answers
118 views

Wrong Localtime distributed by Puppet 4.8

I've encouter some problems with my module Timezone in Puppet. So to make it short and clear, I'm in an internship and my boss gave me an assignement : Fix the automated creation of a VM. The ...
user avatar
  • 11
156 votes
9 answers
133k views

How to install tzdata on a ubuntu docker image?

I have the following line in the Dockerfile. RUN apt-get install -y tzdata When I run it, it asks for my input. After I provided my input, it hung there. Does anybody know how to solve this problem? ...
user avatar
  • 1,699
2 votes
3 answers
3k views

Docker: how to sync date between a CentOs host and a Debian container?

I have a CentOs host running a docker Debian container. The container has the wrong localtime and timezone: how can I synchronize it with the host date? I'm trying with mounting volumes on the ...
user avatar
5 votes
1 answer
3k views

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 ...
user avatar
  • 343
0 votes
1 answer
2k views

Incorrect timezone in PHP error logs

The timestamps in my PHP error log are being displayed in UTC. I want them to display in my local timezone. The date.timezone property in my php.ini file is set to the correct timezone. The output of ...
user avatar
  • 129
0 votes
1 answer
508 views

Update tzdata on RHEL4 with no RPM from RedHat

I have an RHEL4 server with no connectivity to Internet. (Of course, I can scp files into that server from my network). RHEL4 is out of support and RedHat no longer releases tzdata update RPMs for it. ...
user avatar
  • 101
0 votes
2 answers
417 views

Fail to set EEST timezone

I have a server which is set to EEST timezone (East European Summer Time). I'm trying to configure another server to this timezone, but I fail to find appropriate timezone in /usr/share/zoneinfo Any ...
user avatar
  • 128
1 vote
1 answer
4k views

Trying to set date time within ubuntu based docker container

Within my docker container I run: root@77defb7a21e5:/# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: ...
user avatar
1 vote
1 answer
483 views

Will changing a Linux server timezone cause issues?

I have a Ubuntu 14.04 server running on a cloud instance hosted in another time zone. Will changing the timezone using the below, cause issues with programs running on the server? $ echo "...
user avatar
0 votes
0 answers
688 views

AWS RDS MySQL: Populate Timezone Tables

I'm using an AWS RDS MySql (5.7.19) installation and I need to do some date conversions. Most docs say that you need to have the timezone tables populated, to do anything. https://stackoverflow.com/...
user avatar
0 votes
1 answer
85 views

Configuring timezones on Debian based NTP

I've set up a local NTP server on Debian. In ntp.conf I configured pool.ntp.org as the NTP server(s) to sync time with and my local subnet broadcast IP for my NTP server. The local NTP server works ...
user avatar
  • 167
4 votes
1 answer
23k views

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 ...
user avatar
  • 181
3 votes
2 answers
5k views

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 ...
user avatar
  • 213
9 votes
1 answer
23k views

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 ...
user avatar
9 votes
2 answers
7k views

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 ...
user avatar
  • 1,554
0 votes
1 answer
40 views

Unable to confirm timezone while setting crontab for different unix users

On our production server, UCT timezone has been set for server i.e. for root user but for local technical user different timezone is set in .base_profile. I want to set cron as per CET but server ...
user avatar
5 votes
3 answers
1k views

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/...
user avatar
0 votes
2 answers
3k views

zimbra: timezone not changing despite multiple attempts

I am using Zimbra ZCS8 for my company's email service. When any user receives or sends an email, the timezone being used is GMT-10. My timezone (and the one I need in the email server) is GMT-5. ...
user avatar
0 votes
1 answer
370 views

PST timezone represented as UTC (Ubuntu 14.04)

Received an error earlier this afternoon that the time was wrong. Investigated it and found out that the time on the server (represented as PST) was few minutes ahead of local time. I ran the ...
user avatar
  • 101
1 vote
1 answer
93 views

httpd logs show different time then machine

I am having an issue with my webserver, in that the logs that apache is writing have a different timestamp then my machine. This is causing some issues with other services parsing this file.. $user@...
user avatar
11 votes
1 answer
642 views

Can clients learn their time zone on a network configured using RA?

I found that there are some clients which when they are on an IPv4 network learn their current time zone through DHCP option number 101. On an IPv6-only network where an IP prefix is advertised by ...
user avatar
  • 29.7k
0 votes
0 answers
135 views

Time strange things

On a QEMU main host, I have many hosted centos VM running. For test purpose, I change system date/time on these VM, but not on the main host. I get strange behavior when getting dates via cpp calls. ...
user avatar
  • 121
2 votes
1 answer
1k views

Configure DNS logging Time zone to UTC

I want to print DNS log into a file. However, my server time zone is GMT +7 and I'm not allowed to change its time zone to UTC. Could we configure the DNS (ISC BIND 9.10.x) to use the UTC Time zone, ...
user avatar
  • 155
2 votes
1 answer
611 views

Centos 6 Timezone Wrong

I am trying to set my Centos 6 VPS to GMT timezone. I tried a sudo ln -s /usr/share/zoneinfo/GMT /etc/localtime Which works fine. However when I run date it returns: Tue Oct 4 05:09:32 GMT 2016 ...
user avatar
  • 199
13 votes
2 answers
25k views

Disable Daylight Saving Time (DST) Changes in Linux

A few weeks ago, it is announced (by The Energy and Natural Resources Ministry of Turkey) that DST will be permanent and GMT+3 will be used forever in the country. Currently, timezone of our Linux ...
user avatar
  • 416
0 votes
1 answer
630 views

CentOS 7 locale settings changed after Yum update, how can I fix them?

I've been having a number of problems with locale settings and the JVM recently. But this is bigger than that now. I did a Yum update today, full update of everything. It hadn't been done in some ...
user avatar
  • 137
0 votes
0 answers
107 views

Ubuntu CDT time lags by 1.5 min

My servers are Ubuntu 14.04 on AWS. Our application actually needs time in CDT. By default it was UTC, so I created a sysm link for localtime. ll /etc/localtime lrwxrwxrwx 1 root root 27 Sep 14 03:53 ...
user avatar
35 votes
3 answers
87k views

What time zone is a cron job using?

I'm guessing there's a difference between my PHP time and the server time. When I check the current time in PHP, it's showing that MST is being used. However, cron jobs aren't running at the correct ...
user avatar
  • 453
8 votes
2 answers
6k views

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/...
user avatar
  • 1,001