- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Time Change Question
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2008 10:50 AM
10-31-2008 10:50 AM
Time Change Question
When I issue the date command this is what appears:
[root@XXXXXXX ~]# date
Fri Oct 31 14:44:30 EDT 2008
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2008 12:02 PM
10-31-2008 12:02 PM
Re: Time Change Question
Too bad you did not disclose the name of your Linux distribution (i.e. RedHat, SuSE, Debian etc.).
In a Linux system, the timezone setting is usually in the form "Continent/Capital", e.g. "America/New_York".
If you're using RedHat (or Centos, or some other RedHat-like Linux), look into /etc/sysconfig/clock. It is a text file that contains system clock settings, including the timezone.
After you know your timezone setting, run "zdump -v Continent/Capital". It will list the exact times of Daylight Saving Time change as they're defined in your system for that particular timezone. Both past and future DST change times will be listed.
For example:
zdump -v America/New_York
displays this on my system:
...
America/New_York Sun Nov 2 05:59:59 2008 UTC = Sun Nov 2 01:59:59 2008 EDT isdst=1 gmtoff=-14400
America/New_York Sun Nov 2 06:00:00 2008 UTC = Sun Nov 2 01:00:00 2008 EST isdst=0 gmtoff=-18000
...
If my system was using the America/New_York timezone, it would change from DST to standard time on next Sunday, so that after 01:59:59 EDT comes 01:00:00 EST.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2008 01:43 PM
10-31-2008 01:43 PM
Re: Time Change Question
The box is Red hat.
According to
[root@X ~]# cat /etc/sysconfig/clock
ZONE="America/New_York"
UTC=false
ARC=false
and
# zdump -v America/New_York
America/New_York Sun Mar 8 07:00:00 2037 UTC = Sun Mar 8 03:00:00 2037 EDT isdst=1 gmtoff=-14400
America/New_York Sun Nov 1 05:59:59 2037 UTC = Sun Nov 1 01:59:59 2037 EDT isdst=1 gmtoff=-14400
America/New_York Sun Nov 1 06:00:00 2037 UTC = Sun Nov 1 01:00:00 2037 EST isdst=0 gmtoff=-18000
America/New_York 9223372036854689407 = NULL
America/New_York 9223372036854775807 = NULL
#########################
So, am I reading this correctly ? to say it will switch to EST on
Sun Nov 1 01:00:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2008 02:23 PM
10-31-2008 02:23 PM
Re: Time Change Question
In other words, the transition will happen on 02:00:00 EDT = 01:00:00 EST.
Use "zdump -v America/New_York | grep 2008" to get the entries for this year only.
Based on the indicated transition date for 2037, your system already has the correct DST rules: the DST will end on the first Sunday of November. This year, it will be Sun Nov 2.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-31-2008 02:51 PM
10-31-2008 02:51 PM
Re: Time Change Question
Anyway, thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-03-2008 05:54 AM
11-03-2008 05:54 AM
Re: Time Change Question
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP