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
1 answer
63 views

Docker - linux container run on Windows has different time

I work on Windows 10. I use a docker image based on Ubuntu 18.04 (FROM ubuntu:18.04). When I run a Linux container using Docker the time returned by "date" command differs from the time on ...
Irbis's user avatar
  • 101
1 vote
0 answers
36 views

Is cockpit using a different time zone for automatic updates?

I have configured the cockpit web console on my fedora server to automatically install updates at 04:00 every day. I am in the CEST time zone, so 02:00 UTC. It also makes the server reboot after ...
Rijaja's user avatar
  • 11
0 votes
1 answer
235 views

Ubuntu 22.04 Jammy - cron seems to be ignoring timezone

I have a server configured to use the Pacific/Auckland timezone, however cron is running in UTC. In the previous OS version this was sufficient to get everything to operate using a specified timezone (...
Az Ilari's user avatar
0 votes
0 answers
143 views

Windows Server 2012 R2 with hour/time issues

In my office, we have a Windows Server 2012 R2 with our SQL Server on it. We are located in a UTC-7 timezone where we "suffered" DST (but not anymore). Multiple times a day, our server clock ...
Jake C's user avatar
  • 1
0 votes
1 answer
928 views

Why output of command timedatectl list-timezones is only UTC?

In my Yocto distribution is installed the systemd-timesyncd service and the program timedatectl. I have configured a UTC NTP Server in the file /etc/systemd/timesyncd.conf. The systemd-timesyncd ...
frankfalse's user avatar
0 votes
2 answers
409 views

Custom time zone for Wifi connected devices?

I have Wifi router and server that a number of devices connect to on a ship. The devices are both mobile(iOS, Android) and laptops. Connections are so that the devices can only access a specific ...
Karlth's user avatar
  • 191
0 votes
1 answer
791 views

How to set a time zone for ESXi VM?

I have several VMs that are heavily dependent on local time to start some services, and I want them to instantly have exact time at the moment of them starting. The issue is, there are both Windows ...
Vesper's user avatar
  • 794
0 votes
1 answer
314 views

Why timezone setting in crontab has no effect on schedule?

I've configured my timezone on server with timedatectl, e.g.: timedatectl set-timezone Europe/Budapest I've put timezone settings to my crontab configuration like these: CRON_TZ=America/Cancun 0 12 * ...
elaspog's user avatar
  • 223
0 votes
1 answer
79 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....
Victor Sanchez's user avatar
2 votes
1 answer
798 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 ...
Julian7's user avatar
  • 21
0 votes
2 answers
1k 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 ...
xXx's user avatar
  • 1
0 votes
1 answer
416 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 ...
ScaryAardvark's user avatar
0 votes
0 answers
1k 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-...
SScotti's user avatar
  • 141
0 votes
0 answers
255 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 ...
smoke's user avatar
  • 1
0 votes
1 answer
237 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: [...
Lisek's user avatar
  • 309
0 votes
0 answers
418 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 ...
DJM's user avatar
  • 101
3 votes
1 answer
90 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" $...
Ivan Koshelev's user avatar
1 vote
1 answer
1k 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?
StevieD's user avatar
  • 534
0 votes
1 answer
166 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 ...
Q8root's user avatar
  • 103
5 votes
2 answers
5k 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 ...
Philippe Gachoud's user avatar
4 votes
2 answers
10k 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 ...
Eric Citaire's user avatar
8 votes
3 answers
4k 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 ...
mbomb007's user avatar
  • 185
2 votes
1 answer
1k 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 ...
user496934's user avatar
6 votes
2 answers
1k 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....
Samul's user avatar
  • 308
18 votes
2 answers
4k 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 ...
tcurdt's user avatar
  • 413
0 votes
1 answer
1k 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 { ...
Xuphey's user avatar
  • 1
1 vote
2 answers
146 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 ...
Ghrew's user avatar
  • 11
206 votes
10 answers
189k 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? ...
user1424739's user avatar
  • 2,219
2 votes
3 answers
4k 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 ...
Alessandro C's user avatar
5 votes
1 answer
4k 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 ...
simonszu's user avatar
  • 373
0 votes
2 answers
3k 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 ...
Michael's user avatar
  • 129
0 votes
1 answer
664 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. ...
rkrishnan's user avatar
  • 101
0 votes
2 answers
720 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 ...
alnet's 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: ...
Jose Cabrera Zuniga's user avatar
1 vote
1 answer
863 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 "...
David Milanese's user avatar
0 votes
0 answers
881 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/...
Black Dynamite's user avatar
0 votes
1 answer
91 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 ...
Jon's user avatar
  • 167
5 votes
1 answer
26k 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 ...
haemse's user avatar
  • 191
3 votes
2 answers
7k 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 ...
Lilás's user avatar
  • 223
9 votes
1 answer
28k 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 ...
Salem Ahmed's 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 ...
Daniel's user avatar
  • 1,614
0 votes
1 answer
45 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 ...
Mahesh Morankar's user avatar
5 votes
3 answers
2k 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/...
Shane Buckley's user avatar
0 votes
2 answers
4k 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. ...
quelquecosa's user avatar
0 votes
1 answer
388 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 ...
Adib's user avatar
  • 101
1 vote
1 answer
269 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@...
Matt Clark's user avatar
11 votes
1 answer
660 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 ...
kasperd's user avatar
  • 30.5k
0 votes
0 answers
213 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. ...
Overnuts's user avatar
  • 121
2 votes
1 answer
2k 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, ...
Tuan's user avatar
  • 155
2 votes
1 answer
742 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 ...
Shiv's user avatar
  • 199

1
2 3 4 5