- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TimeZone
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
11-12-2001 05:20 AM
11-12-2001 05:20 AM
Does the time zone abbreviation matter in this case, i.e abc+2 is the same as abc2 or xyz+2?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:33 AM
11-12-2001 05:33 AM
Re: TimeZone
If your time is always 2 hours ahead of
GMT, then you do not need an entry in tztab.
Just modify /etc/TIMEZONE to read
TZ=GMT+2; export TZ
The abbreviation is an equation to calculate
the timezone. So, in that respect it matters.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:34 AM
11-12-2001 05:34 AM
Re: TimeZone
Regards,
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:36 AM
11-12-2001 05:36 AM
Re: TimeZone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:41 AM
11-12-2001 05:41 AM
Re: TimeZone
use CET-2CDT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:43 AM
11-12-2001 05:43 AM
Re: TimeZone
check out man tztab, put the time zone you like te use in /etc/TIMEZONE and export it:
cat /etc/TIMEZONE
TZ=MET-1METDST
export TZ
Good luck,
Gidoen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:46 AM
11-12-2001 05:46 AM
Re: TimeZone
for +2 TZ, you would be in Eastern Europe
use EET-2EEST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 05:57 AM
11-12-2001 05:57 AM
Re: TimeZone
TZ=GMT-2 gives me the rite time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2001 06:12 AM
11-12-2001 06:12 AM
SolutionUsing a "+" offset means you are west of the Prime Meridian. Using a "-" offset means you are east. You should, ideallly, choose a value in /usr/lib/tztab that matches your home. You can test your TZ declaration by simply doing this:
# TZ=XXX+5 date
...or...
# TZ=XXX-5 date
If you use something like XXX5 you will see that this is the same as specifying the format as XXX+5. As you can also see, there is no magic in naming the timezone. Here, "XXX" would be its name -- not too informative, though.
Regards!
...JRF...