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
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
  • 14
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
  • 754
  • 1
  • 9
  • 29
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
  • 173
  • 1
  • 1
  • 8
0
votes
0 answers

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 account is taking time. Is it possible to apply changes to…
a03
  • 1
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
0 answers

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 time: Failed to query server: Connection timed…
Nishu Ali
  • 1
  • 2
0
votes
1 answer

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 the winter, my job should run when the server…
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
0
votes
1 answer

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 it. There must be a way to query the timezone…
ScaryAardvark
  • 199
  • 1
  • 3
  • 11
0
votes
0 answers

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-compose.yml: postgres: image: postgres:13 …
SScotti
  • 139
  • 5
0
votes
0 answers

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 specific job to America/New_York (EST). Example: I want…
smoke
  • 1
1 2 3
13
14