10-22-2014
Not always -- it can be globally set with a file, too, /etc/localtime, which you copy from a selection in /usr/share/localtime. I copied /usr/share/zoneinfo/Canada/Saskatchewan for instance. This gives my system a timezone without having a value set for TZ.
TZ is often used to override the global setting to operate in multiple regions... and sometimes for crude date math (subtracting a number of hours), etc.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello!
I'm currently working on a climatological dataset that uses unix-timestamp and a real date like 28/03/2004 02:45:00 h. in spring the unix-timestamp follows its continuos mode but in the column of the real date the time jumps one hour forward (e.g. from 1:59:59 to 3:00:00). i think this is... (1 Reply)
Discussion started by: softmachine
1 Replies
2. AIX
On AIX 5.1, after applying a DST patch or workaround, is there a way to test that the DST changes have taken effect? (1 Reply)
Discussion started by: dangral
1 Replies
3. HP-UX
I have a problem with the time so I need to set the DST to be OFF. is anybody can show me how to set the DST to be OFF? (11 Replies)
Discussion started by: Billy_yuli
11 Replies
4. UNIX for Dummies Questions & Answers
The daylight saving action is not working
Time zone was set for that Australia(parth) and issued reboot.
Now for DST, (Daylight Saving Time):
For 29 Oct 2006 (sunday) day, if set time is 1:59:00 than after 1 minute it will
become 3:00:00 as per DST . This was found to be happening.i.e DST... (1 Reply)
Discussion started by: subratasaharia
1 Replies
5. UNIX for Advanced & Expert Users
The daylight saving action is not working
Time zone was set for that Australia(parth) and issued reboot.
Now for DST, (Daylight Saving Time):
For 29 Oct 2006 (sunday) day, if set time is 1:59:00 than after 1 minute it will
become 3:00:00 as per DST . This was found to be happening.i.e DST... (1 Reply)
Discussion started by: subratasaharia
1 Replies
6. Linux
Hi folks,
I would like to read the start date and end date of the Daylight Saving Time for the given timezone in the given year. What's the function in C/C++ to read the start of the Daylight Saving date and end of Daylight saving date?
I'm using Linux 2.6.xx Kernel.
For Example, in... (4 Replies)
Discussion started by: suryaemlinux
4 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have one confusion regarding DST chnages which are going to happen after October. :confused: :confused:
I have few jobs on Autosys which run as per Japan Time. they shoudl not be affected by switiching off of DST time.
Our autosys instance server is based on UK which is running on... (0 Replies)
Discussion started by: girdharsourabh
0 Replies
8. Linux
Hi,
I have few doubt on daylight saving.
Can any one clarify the below points.
1) How to configure daylight saving(DLS) time ?
2) How to query DLS ?
3) If i set DLS(say some how) will it be autometically changed or user has to manually change system time ?
I got few info on net about... (3 Replies)
Discussion started by: ashokd001
3 Replies
9. Solaris
Hello,
Quick question: How do I verify if my Solaris 11 hosts/zones, configured with NTP, would change automatically to the DST?
Thanks! (1 Reply)
Discussion started by: feroccimx
1 Replies
LEARN ABOUT CENTOS
localtime
LOCALTIME(5) localtime LOCALTIME(5)
NAME
localtime - Local timezone configuration file
SYNOPSIS
/etc/localtime -> ../usr/share/zoneinfo/...
DESCRIPTION
The /etc/localtime file configures the system-wide timezone of the local system that is used by applications for presentation to the user.
It should be an absolute or relative symbolic link pointing to /usr/share/zoneinfo/, followed by a timezone identifier such as
"Europe/Berlin" or "Etc/UTC". The resulting link should lead to the corresponding binary tzfile(5) timezone data for the configured
timezone.
Because the timezone identifier is extracted from the symlink target name of /etc/localtime, this file may not be a normal file or
hardlink.
The timezone may be overridden for individual programs by using the TZ environment variable. See environ(7).
You may use timedatectl(1) to change the settings of this file from the command line.
SEE ALSO
systemd(1), tzset(3), localtime(3), timedatectl(1), systemd-timedated.service(8)
systemd 208 LOCALTIME(5)