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
0
votes
1 answer

Unexpected change in server timezone

I have a Java application that depends on date/time of the system to check for new and old email messages. While I was checking the Java application log, I found that the server timezone has changed. This caused the application to fail in doing its…
Khaled
  • 36,533
  • 8
  • 72
  • 99
0
votes
1 answer

Setting up your linux box for GMT

I would like to get my server time as close to GMT (Greenwich Mean Time) as possible. What is best way to do this? It's Ubuntu 10
Dexter
  • 117
  • 1
  • 6
0
votes
1 answer

How to get PHP date time to use that of the server?

My PHP scripts are currently an hour out due to BST being in operation (GMT+1). Is there a way of setting php.ini's date.timezone to keep the time correct for BST/DST, without having to manually modify it when the clocks go back? Alternatively, if…
user34542
0
votes
2 answers

PHP timezone is not being set by php.ini

In my php.ini I have date.timezone = America/Puerto_Rico but the PHP time is an hour behind. When I look at phpinfo() it says date date/time support enabled "Olson" Timezone Database Version 2008.2 Timezone Database internal Default timezone …
user46642
0
votes
1 answer

timezone setting per virtual host

I am trying to test functionality related to timezone handling/conversion during synchronization between two of my test servers (currently they are running on same mashine). Is it possible to set up hosts so one will be running, say, by London time,…
jonny
  • 357
  • 1
  • 3
  • 15
0
votes
1 answer

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 the Windows host machine. The time in the Linux container is…
Irbis
  • 101
  • 1
0
votes
1 answer

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 (including cron): sudo ln -sf…
Az Ilari
  • 71
  • 4
0
votes
0 answers

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 adds 7 hours to itself to coincide with the hour on UTC+0,…
Jake C
  • 1
  • 1
0
votes
1 answer

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 service works correctly and synchronizes date and time…
frankfalse
  • 125
  • 9
0
votes
2 answers

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 website on the server. The location of the devices…
Karlth
  • 191
  • 7
0
votes
0 answers

Wrong datetime for new created files in Gnome / Budgie

Running Budgie Desktop 10.5.1 on Ubuntu 20.04 Using date command in bash shows the correct creation date and timezone. Trying touch testfile and checking with ls -l show correct datetime Checking Date & Time Dialog of Budgie shows correct datetime…
Wotim
  • 121
  • 4
0
votes
1 answer

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 and Linux VMs, and while Windows VMs can take local…
Vesper
  • 794
  • 1
  • 9
  • 32
0
votes
1 answer

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 * * * echo "not scheduled in time" #…
elaspog
  • 223
  • 1
  • 2
  • 9
0
votes
1 answer

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…
0
votes
2 answers

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 format in "timedatectl" is incorrect (24h). Any…
xXx
  • 1
  • 1
1 2 3
13
14