Questions tagged [timezone]

When using or applying a TZ value.

Filter by
Sorted by
Tagged with
11 votes
5 answers
48k views

Configure localtime. dpkg-reconfigure tzdata

I'm using this to configure localtime: dpkg-reconfigure tzdata It is ncurses interface. I'm looking for the way to programming this. Is there true way without user ncurses interface? How to ...
unixlinuxuser's user avatar
3 votes
2 answers
136 views

How to overcome TZ difference on different servers?

We have a few servers in different timezones. We have a table.html that contains dates. We want to have correct dates in each server, so we thought that: - we should convert the time on server "A" ...
evachristine's user avatar
  • 2,613
9 votes
3 answers
14k views

Disable daylight saving time in Debian Linux

I do not want my system to use daylight saving time. root@ali-debserver:~# cat /etc/timezone Asia/Tehran root@ali-debserver:~# cat /etc/default/rcS # # /etc/default/rcS # # Default settings for the ...
alireza's user avatar
  • 377
16 votes
2 answers
31k views

How to change the user timezone?

I know that (for example in Debian) one could use dpkg-reconfigure tzdata to change the timezone of the system but I am wondering how one could change the user timezone (if Linux/Unix supports such an ...
Loax's user avatar
  • 355
183 votes
3 answers
714k views

Timezone setting in Linux [closed]

I'm setting the timezone to GMT+6 on my Linux machine by copying the zoneinfo file to /etc/localtime, but the date command is still showing the time as UTCtime-6. Can any one explain to me this ...
Rahul Dhobi's user avatar
  • 2,037
2 votes
1 answer
433 views

How does zoneinfo get updated if at all?

I have been installing several systems lately have noticed a difference of opinion on how to set time-zones. Arch Linux Beginners' Guide says to use a symlink and the Gentoo HOW TO Guide says to copy ...
DarkSheep's user avatar
  • 1,886
32 votes
4 answers
24k views

Why does TZ=UTC-8 produce dates that are UTC+8?

The current time in Los Angeles is 18:05. But when I run TZ=UTC-8 date --iso=ns, I get: 2013-12-07T10:05:37,788173835+0800 The date utility tells me that the time is 10:05, and even says that it's ...
Alex Henrie's user avatar
3 votes
2 answers
2k views

Choose other timezone when install Debian?

Why can't I select English and choose timezone outside US?
user2630945's user avatar
2 votes
1 answer
1k views

Change System Time/Date

I'm running Linux Mint 15 with KDE 4.10.4+ Here's what I get when I run date: user:~ > date Die Okt 29 15:47:54 UTC 2013 Where "Die Okt" indicates a German-language setting, which I don't mind. ...
Newb's user avatar
  • 1,092
14 votes
1 answer
13k views

Cron job does not fire up after a timezone change

I've tried eliminating many of the common errors, ensuring that the PATHs are available for cron there is an endline at the end of crontab file the timezone is set-up by: cd /etc cp /usr/share/...
adsisco's user avatar
  • 243
25 votes
4 answers
23k views

Automatically set Linux timezone according to location

How can we automatically set the system default timezone in Linux using the Internet? As I see it, NTP servers can update only time, but not timezone. Is there any server that can change the timezone?
Embedded Programmer's user avatar
4 votes
2 answers
591 views

Causing fluxbox to show a different time then the default timezone

I've moved to fluxbox as my default environment on our corporate environment. I obviously can't change the time on the machine. But I'd like the clock to show my local time instead of the machine's ...
Tsvi M's user avatar
  • 141
8 votes
2 answers
9k views

setting a cronjob in IST time

I am trying to set a cronjob run in a different timezone. I've googled a lot and found editing /etc/default/cron is the way to go. But this file is deprecated and I see the following message, so I ...
tesster's user avatar
  • 81
38 votes
3 answers
62k views

How can I examine the contents of /etc/localtime?

What command(s) can I use to examine the contents of the timezone files, such as /etc/localtime or the files under /usr/share/zoneinfo/*?
slm's user avatar
  • 370k
4 votes
1 answer
7k views

PlayOnLinux error on application when I change my timezone

I have a game (scrolls.com) that I'm running under wine. Everything was OK, until I moved and changed my timezone. Now, if I keep my old timezone it works. But if I change the timezone to something ...
adn's user avatar
  • 153
2 votes
0 answers
700 views

Gnome clock on UTC, not local

My OS is Gentoo. My Hardware Clock is set to UTC. The date command returns the correct time and timezone (EDT). However, my GNOME clock is set to UTC. I have 2 clocks, one at Internet Time, and one ...
Aviator45003's user avatar
1 vote
0 answers
2k views

Linux embedded: change time zone

I'm working on an embedded system with linux. I'm trying to change the timezone used by the operating system and I'm doing this by copying the timezone file from /usr/share/zoneinfo to /etc/localtime (...
lordpurple's user avatar
2 votes
3 answers
3k views

sendmail using incorrect timezone

I have sendmail running on my CentOS server. The server is set to BST and tzdata is correct. $ date Tue Jul 2 10:53:56 BST 2013 $ ll /etc/localtime lrwxrwxrwx 1 root root 33 Jun 28 17:07 /etc/...
mezi's user avatar
  • 942
4 votes
1 answer
29k views

Daylight saving option on Linux servers

My CentOS server is not updating showing correct time. I have set $ ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime Still I am on GMT. I do see the following entries in /etc/sysconfig/...
mezi's user avatar
  • 942
0 votes
1 answer
1k views

Custom Linux Timezone

I believe rdesktop 1.7.1 is sending Linux timezones (For example "EST") to the Windows client I regularly connect to (I am yet to find a way of seeing what Windows receives in the way of RDP settings ...
user66001's user avatar
  • 2,395
27 votes
3 answers
89k views

Changing timezone on Debian keeps Local Time in UTC

I'm trying to get programs to log in local time for my own sanity. I have updated my timezone with: dpkg-reconfigure tzdata But the result of that command is: Current default time zone: '...
complistic's user avatar
4 votes
2 answers
1k views

How to get time synced outputs (different timezones on servers)?

So imagine there are ~100 servers with different timezones (not all diff., but many-many timezones). There are outputs on the server logs like: server1:BFE4C025 0420201413 P H sysplanar0 ...
gasko peter's user avatar
  • 5,504
7 votes
1 answer
3k views

How to correct wrong time zone offset via zic timezone compiler

I have an iPod touch (2nd gen) running iOS 3.1.3 (since it won't perform well with iOS 4) and constant troubles with the clock setting itself one hour ahead of the actual time when I connect it to the ...
leugim's user avatar
  • 241
1 vote
1 answer
2k views

How to set tz and date without restart in Debian Squeeze?

I've tried tzselect and all it appears to do is tell me what region I want to pick. I'm trying to change tz without a restart and for all users, then sync the time accordingly.
user1561108's user avatar
  • 1,071
2 votes
2 answers
2k views

crontab and DST disagreement with different timezone

From a server hosted in Poland (UTC +01:00), is there a way I can consistently have a crontab entry run at 9am New York time (UTC -05:00)? For me this wasn't trivial since the daylight saving time ...
Marcos's user avatar
  • 2,305
0 votes
1 answer
2k views

What timezone formats are there?

What timezone formats exists on UNIX systems? Can someone gather them in a short answer? How can I recognize them?
gasko peter's user avatar
  • 5,504
188 votes
7 answers
310k views

How can I have `date` output the time from a different time zone?

I have a server running with the time zone set to UTC. It seemed like that was generally a good practice (please correct me if I'm wrong). Anyhow, one of the servers I connect to, in order to scp ...
cwd's user avatar
  • 45.4k
1 vote
2 answers
31k views

How can I set the time in Centos so that resetting the OS doesn't revert to its default value?

I have a VPS running on Cent Os 5.8 (x86). There are situations in which we are forced to reset the entire VPS (it hangs and the only way to get it back on is to reset it). When we do so, the time is ...
Hossein's user avatar
  • 263
10 votes
1 answer
4k views

Run an application with different TimeZone

I have an windows application (Under Wine) that only works when I change timezone to NewYork's TimeZone. with Any other zone it doesn't start!! So, Is it possible in Linux to run an application with ...
Ariyan's user avatar
  • 2,106
2 votes
1 answer
10k views

Setting timezones

I want to set my timezone to America/New_York. date says that the current time is CEST. I'm using systemd, no desktop environment. Right now I have /etc/localtime links to /usr/share/zoneinfo/...
McEnroe's user avatar
  • 163
4 votes
1 answer
3k views

bash terminal [\t] (time) is not same timezone as 'date'

In my .bashrc file I configured how I would like my prompt to be displayed. My .bashrc is sourced in .bash_profile. The command in the .bashrc file is: PS1='[\t] \u@\h is $PWD :: ' I switched the ...
DanCat's user avatar
  • 406
1 vote
1 answer
646 views

What does XST in the date command output mean?

When executing the date command (on CentOS), it gives me something like this: Thu May 10 20:15:07 XST 2012 My local time zone is CEST, which was at that moment 22:15:07, so the printed time seems ...
Alexander Rühl's user avatar
13 votes
2 answers
5k views

Why is zone.tab missing so many time zones?

There are over a thousand time zone files on your typical *nix box (in /user/share/zoneinfo). Many of them vary only in historical dates which have little relevance for programs which care only about ...
Jonathan M Davis's user avatar
2 votes
1 answer
4k views

How to set up FreeBSD for my region?

I'm currently installing FreeBSD. I'm at the "Time Zone Selector" screen. I don't know what should I choose. Normally, since I live in Quebec (Canada), I choose Eastern time GMT -5, but there is no ...
user1115057's user avatar
2 votes
2 answers
1k views

Is there anything in unix crontab to determine this should be executed in PST/CST standard time?

There is this thing in QuartzScheduler where we can say execute this in CST/BST/ or whatever timezone. This is also good when you want to execute some jobs in certain timezones and certain jobs in ...
user avatar
5 votes
1 answer
2k views

Querying the current time of a city from terminal

I have friends all over the globe and before calling them I need to know their current time. Is there an application in Linux where one can query a city (if exists) in terminal (something like this): ...
sterz's user avatar
  • 824
8 votes
2 answers
26k views

How to get the timezone of a FTP server?

With lftp, when I do ls I get the listing of the files on the FTP server, with their date. However, the timezone is not displayed. On my local machine, I can do ls -l --time-style=full-iso to see ...
augustin's user avatar
  • 463
4 votes
2 answers
4k views

Russian timezone is not up-to-date

I have noticed, that the Russian timezone is not up-to-date. The GMT offset is set to +3 h now, whereas the current GMT offset is +4 hours. Could someone tell me how can i manually edit the tzdata ...
user avatar
2 votes
4 answers
18k views

How to set CST timezone w/o daylight period?

I want to configure linux box to use CST w/o daylight. My first idea was using the UTC-06 zone file, but for some weird reason it provides UTC+6, not UTC-6 time! After that I read the List of tz ...
user avatar
18 votes
6 answers
15k views

How to add a custom timezone clock to an XFCE panel?

My local time is CET (Prague, EU), I also need to see UTC and, some times, MSK time. Can I add multiple clocks with different zones to a panel in XFCE? I know how to add multiple clocks, actually, but ...
Ivan's user avatar
  • 17.7k
5 votes
2 answers
6k views

/etc/shadow date of last password change—UTC or local time?

man 5 shadow gives the following description of the third field in each line: The date of the last password change, expressed as the number of days since Jan 1, 1970. The value 0 has a special ...
me_and's user avatar
  • 1,151
1 vote
1 answer
6k views

Timezone, Time setting in Linux using shellscript

I really need your help on a job of setting timezone and time on a router using Linux OS remotely from Web ( Linux OS based on Linux Kernel 2.6.30). For fulfilling this job, I use CGI and Shellscript....
sees's user avatar
  • 245
1 vote
1 answer
3k views

Debugging Java program for changing timezone configuration file on Ubuntu

Here is a ruby script I wrote to change the timezone configuration on Ubuntu. I run it with jruby (a Ruby interpreter running in a JVM). require 'java' if ARGV.length == 0 puts "Usage: jruby ...
Terry Li's user avatar
  • 1,955
4 votes
5 answers
10k views

How to make an Ubuntu time zone change stick?

I'd like to reset the timezone through editing /etc/timezone. However, after I was done editing and saved the file, the system time did not change accordingly. On the other hand, when I take ...
Terry Li's user avatar
  • 1,955

1 2 3 4
5