GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Daylight savings time?
Operating System - HP-UX
1850481
Members
3085
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
- Report Inappropriate Content
10-23-2000 12:38 PM
10-23-2000 12:38 PM
How does the system handle Daylight savings time? Especially pertaining to log files.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2000 12:42 PM
10-23-2000 12:42 PM
Re: Daylight savings time?
Todd:
Yes. See man 'cron'. As for logfiles, generally if you want precise history for a long period you would log with a date and time to include the timezone. This will thus reflect EST vs EDT, for instance.
...JRF...
Yes. See man 'cron'. As for logfiles, generally if you want precise history for a long period you would log with a date and time to include the timezone. This will thus reflect EST vs EDT, for instance.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2000 03:39 AM
10-24-2000 03:39 AM
Solution
Todd,
The internal time on an HP-UX system is defined as "the number of seconds elapsed since January 1, 1970, GMT". It is not until an application actually attempts to interpret this time that the Daylight Savings Time is taken into account. The tztab table (see the tztab(4) manpage) specifies when the Daylight Savings Time (if appropriate) adjustments should be made for a specific time zone, and this information is in turn used by the date(1), ctime(3C), localtime(3C), and other time-related functions and applications.
The easiest way to ensure consistency in your log files and such is to use a time format that includes the current time zone (ie, EST vs EDT) in the logfile output.
The internal time on an HP-UX system is defined as "the number of seconds elapsed since January 1, 1970, GMT". It is not until an application actually attempts to interpret this time that the Daylight Savings Time is taken into account. The tztab table (see the tztab(4) manpage) specifies when the Daylight Savings Time (if appropriate) adjustments should be made for a specific time zone, and this information is in turn used by the date(1), ctime(3C), localtime(3C), and other time-related functions and applications.
The easiest way to ensure consistency in your log files and such is to use a time format that includes the current time zone (ie, EST vs EDT) in the logfile output.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP