- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Urgent help. Time Zone Setting
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Community
Resources
Forums
Blogs
- 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
05-06-2001 06:03 PM
05-06-2001 06:03 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2001 06:32 PM
05-06-2001 06:32 PM
SolutionFirst of all it is perfectly safe to change the timezone to any valur you like. This only affects how the date/time is displayed not how system time is stored. Internally, all UNIX boxes in the known universe simply count seconds since Jan 1, 1970 UTC and internal dates and file datestamps are recorded simply as this number of seconds. Individual users can have different displayed times by altering the TZ variable.
To check your setting, echo $TZ. The format will be something like this:
CST6CDT. Which translates to 'Central Standard Time', 6 hours West of Greenwich, 'Central Daylight Time (Summer Time)'.
You can simply set and export TZ to try different settings and again this has no impact on the system other than how time is displayed in this shell and its child processes.
Man environ (5) for details; when you find a value that is appropriate, edit /etc/TIMEZONE and set the value.
If you enter a negative hours offset in the TZ
variable that is interpreted to mean hours east of Greenwich.
The proper use is to use /etc/TIMEZONE to set the most common timezone (or often that of the machine's physical location) and then to use each user's .profile to override the value if required.
Hope this helps, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2001 07:56 PM
05-07-2001 07:56 PM
Re: Urgent help. Time Zone Setting
TZ=SST-8
export TZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2001 07:58 PM
05-07-2001 07:58 PM
Re: Urgent help. Time Zone Setting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2001 09:03 PM
05-07-2001 09:03 PM
Re: Urgent help. Time Zone Setting
Sorry, would like to clarify that "SST-8" is specially for Singapore (SST - Singapore Std Time). S'pore is also GMT +8 Hours, 8 Hours East of Greenwich. You can either use "SST-8" or the standard convention as described in "man environ".