The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
16 views

Solaris 11 nlsadm list-timezone issue

nlsadm list-timezone iconv_open(wchar_t, UTF-8) failed for 'en_GB.ISO8859-15' locale Invalid argument What is the cause for this error and is there a workaround?
0
votes
1answer
25 views

RedHat + what is the variable ARC in the /etc/sysconfig/clock file

from redhat doc we can see the following: The /etc/sysconfig/clock file controls the interpretation of values read from the system hardware clock. ARC=, where is the following: false or no — This ...
0
votes
1answer
43 views

Unable to change time-zone properly, the time is still from the previous time-zone

I've changed my time-zone to be 1 hours behind. I've called timedatectl set-timezone Asia/Bangkok Although the timezone is changed, the time is still the same as in my old time-zone, that is, this ...
1
vote
1answer
35 views

Why is /etc/localtime a symbolic link?

as all know , in order to set new TIME ZONE need to perform the following steps example when we want UTC time unlink /etc/localtime ln -s /usr/share/zoneinfo/UTC /etc/localtime so we create ...
0
votes
1answer
28 views

How can I easily change my time-zone in Arch/Xfce?

Since I move around, I need to be to change time-zones frequently. I'm on Arch/Xfce. How can I do that? I've tried right click on the watch on the top panel -> properties -> time settings -> time zone....
0
votes
0answers
45 views

TIMEZONE set for specific country but we get UTC Time - how it can be?

I have Linux red-hat 6.6 version This machine was set for Israel time zone as the following # more /etc/sysconfig/clock ZONE="Israel" ls -ltr /etc/localtime lrwxrwxrwx 1 root root 23 Jul ...
0
votes
1answer
58 views

CentOS define same date and timezone for system and MySQL

I was watching that my droplets have different timezone between OS and MySQL. By default, I've configured all vms to Brazilian timezone (America/Sao_Paulo) through tzselect, and, assuming that MySQL ...
0
votes
0answers
32 views

Godaddy Cron timezone change

There is a discussion http://stackoverflow.com/questions/13289751/cron-job-in-a-different-timezone/37764183#37764183 Could anybody clarify answer of @Bartosz Kowalczyk http://stackoverflow.com/a/...
0
votes
0answers
85 views

Reset time / date to current time-zone using timedatectl preferably, or date

As the title says, I'm looking to reset the current system time to the selected time-zone using the timedatectl preferably, or date command. This is on the CentOS 7 OS, hence the timedatectl ...
6
votes
5answers
2k views

Change the time zone of a cronjob

I have a cronjob which is executes every day at 9:00 AM of UTC-Time. I'm in GMT+1 so it executes at 10:00 AM local time. When there is the timezone change (to daylight saving time, DST), the cronjob ...
3
votes
2answers
4k views

Get time for system default timezone

When logging in to remote machine X, by default, date will give the time in the local timezone: $ date Mon Nov 17 22:45:47 CET 2014 Note that TZ is not set: $ export | grep TZ $ So, I set TZ to ...
1
vote
1answer
136 views

Linux DST confusion

My question is about Daylight Savings Time (DST), and whether or not the following is behaviour is normal under Linux. I am using the POSIX TZ variable to specify the timezone. Using the example ...
4
votes
3answers
126 views

UTC vs. localtime has an offset of about 25 seconds

I have compared this in different systems, but only get this behavior in an embedded system running Arago linux. I use the date command from BusyBox v.1.13.2 I executed this two commands "...
0
votes
2answers
40 views

zdump doesn't display expected information

I am trying to configure the time zone of a server (Ubuntu 14.04.4), however the zdump command does not show the expected information like : America/Santiago Sun Apr 26 02:59:59 2015 UTC = Sat Apr ...
14
votes
4answers
5k 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 ...
0
votes
0answers
13 views

TZ variable: strange behaviour using Etc/GMT+x? [duplicate]

Could anyone explain why the following commands return different results? TZ="Australia/Sydney" date TZ="Etc/GMT+10" date Sydney is 10 hours ahead of GMT, so the results should be equal, but I get (...
1
vote
1answer
64 views

linux redhat + change time from UTC to GMT+X

how to change the time from UTC to GMT+2 my current date is UTC as the following 20:23:48 root@linux-test01:~ # date Sat Apr 16 20:23:52 UTC 2016 and I want to change it from UTC to GMT+2
0
votes
1answer
103 views

Right Timezone - Wrong Time - DST (Debian)

After the Daylight Saving Time (last Sunday) the "date" output is wrong. I run dpkg-reconfigure tzdata, set the timezone (again) to Europe/Athens, and it still displays the wrong time. After dpkg-...
0
votes
0answers
30 views

Red Hat to Debian timezone and time adjust setup

When migrating timezone and time adjust setup from a Red Hat to another Red Hat, I only needed to copy /etc/localtime and /etc/adjtime and it solved the issue. Migration worked perfectly. The problem ...
3
votes
2answers
63 views

How do I report an incorrect timezone?

Timezone information for Cayman Islands is incorrect. The Cayman Islands government toyed with the idea of changing the timezone to have daylight savings, in effect matching US/Eastern time, however ...
2
votes
1answer
200 views

Set environment variable (TZ) for all startup scripts and inittab

I'm working on an embedded Linux system and looking for a way to set the time zone for all processes. The question is: Is there any possibility to set the TZ environment variable at boot time (init ...
0
votes
1answer
499 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 ...
2
votes
2answers
1k views

Get current timezone on Centos 7

On previous version of centos , i used the following command to get the current timezone in my bash script timezone=$(sed 's/ZONE=//g' /etc/sysconfig/clock) Output is "America/New_York" How can i ...
3
votes
1answer
86 views

How can I output month name in a given timezone

I would like to have the output of date +"%B, %d %Y" in my local timezone but considering another timezone for the names (month name in this case). In my system the date +"%B" outputs (please note ...
1
vote
1answer
51 views

I set time to wrong time zone, how do I change it? (Debian)

I am on Debian and have used the dpkg-reconfigure tzdata command, however it changed the universal time and not the local time. My clock on xfce still displays the wrong time. Right after setting the ...
3
votes
1answer
193 views

How do I show UTC time in the i3status bar?

In my ~/.i3status.conf I have order += "tztime local" order += "tztime utc" #... tztime local { format = "%Y-%-m-%d %I:%M:%S" } tztime utc { format = "%H:%M:%S" } but my status bar shows ...
3
votes
1answer
57 views

How to change the timezone on CentOS 7?

Does anyone know how to change the timezone on CentOS 7?
2
votes
3answers
1k 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/...
1
vote
2answers
3k views

changing timezone in Oracle Solaris 11.2

I'm confused: what is the right way to change TZ on a freshly installed Solaris 11.2? I have found these, but am unsure which to use: Reconfiguring Date and Time Before and After an Installation ...
3
votes
1answer
200 views

Why does “date” show different times in root and user?

Using dpkg-reconfigure tzdata I have set my timezone to CST, but for non root users the system persists in using UTC time. pi@raspberry ~ $ date Wed Oct 28 18:14:08 UTC 2015 root@raspberrypi:/home/...
1
vote
2answers
80 views

Embedded Debian-Linux, no Timezone

We have a platform with Embedded-Debian-Linux as OS which will be distributed worldwide. We have a Battery-Backed RTC which should be used as system time. We do not want to have any timezone or any ...
2
votes
4answers
54 views

how to get a different time-clock on CLI apart from your time-zone?

Is there a way to invoke or know a different clock or time on the CLI. The thing is I'm on UTC+5:30 time but at times need to know time in different time-zones. If there is a CLI way in which this can ...
1
vote
1answer
2k views

How to have time synchronization work on localtime?

The Arch wiki suggests Time standard Recommended: Set both Arch Linux and Windows to use UTC, following Time#UTC in Windows. Also, be sure to prevent Windows from synchronizing the time ...
2
votes
1answer
436 views

Why does `date` show UTC time, even with a different timezone set?

I'm running Raspbian on a Pi 2, and I've run into a bit of a pickle. While I'm not sure this behavior was different previously, running date outputs the same time as date -u, despite my timezone being ...
2
votes
0answers
28 views

Files appear in a different timezone after transferring to another computer (even though both computers have same timezone) [closed]

I copied some files from an Archlinux computer to an Ubuntu one, but the time on the files after being moved showed as exactly 2 hours earlier than on the computer they were originally. (2 hours I'm ...
9
votes
4answers
6k 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 ...
40
votes
3answers
198k 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 ...
1
vote
3answers
5k 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 ...
1
vote
1answer
372 views

Cronjob is running every minute but not at a specific time

As title says the job works if set like this: */1 * * * * /usr/bin/php /home/test/cron/test.php And if set to something like: 15 20 * * * /usr/bin/php /home/test/cron/test.php it's not working. ...
7
votes
3answers
12k 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/*?
1
vote
1answer
4k 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....
4
votes
4answers
6k 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 ...
1
vote
1answer
161 views

Why is the localtime reset to the default timezone?

I use the following commands to set the timezone on our Amazon Linux (Centos) server: ls -al /etc/localtime -rw-r--r-- 1 root root 118 25 dec 2012 /etc/localtime sudo mv /etc/localtime /etc/...
2
votes
3answers
197 views

epoch time for GMT

On AIX date -u gives date and time in GMT format date gives date and time in local timezone date +%s gives local time in epoch time Is there a way to get GMT time in epoch format? In the AIX I'm ...
12
votes
3answers
2k views

How do I get the current time in a different time zone without changing system time? [duplicate]

I am trying to use 'date' to get the time in a different time zone, and failing. All the methods I've found on google involve changing the time zone on the system, but that is not what I want. Is ...
1
vote
2answers
84 views

Get Real BiosTime using CentOS 6.x and make permanentely SystemTime = BiosTime [closed]

My first SO is Windows 7, and it is synchronized with Bios Time... Later I installed CentOS, but... I want to have synchronized my CentOS with Windows and Time Bios! I was checking time (before ...
2
votes
1answer
416 views

Where is zdump getting all these time transitions from?

I recently wrote some code to parse the binary timezone data from the Olson zoneinfo database. As far as I can tell, my code is correct and matches the spec as written in C. However, I get different ...
0
votes
1answer
265 views

Timezone doesn't change after update to Asia/Tehran in CentOS 6.6

I want to change the server timezone and used the following commands: cp /etc/localtime /root/old.timezone rm /etc/localtime ln -s /usr/share/zoneinfo/Asia/Tehran /etc/localtime but when I check ...
3
votes
1answer
503 views

Using the MATE clock applet without a password

This is just a minor annoyance, but I'd love to fix it. I'm running Mint 17 with MATE 1.8.1. The clock applet on my panel knows my location, and displays the weather. Sometimes I like to look at ...
3
votes
1answer
1k views

How to prevent tzdata updates on CentOS resetting /etc/localtime

I am using a local timezone (non-UTC) on my server. Whenever I update the tzdata via yum, the system resets /etc/localtime to the default file and I am back on UTC. While #date still shows the ...