- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Time Zone
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-30-2010 12:01 PM
тАО09-30-2010 12:01 PM
Time Zone
i have problem with my country localtime
when i echo $TZ
it display EGY-2EGYDST (which mean two houres than UTC)
but
when run command date
it display time with three houres than UTC
please help
thnak you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2010 01:11 PM
тАО09-30-2010 01:11 PM
Re: Time Zone
http://www.timeanddate.com/worldclock/timezone.html?n=53
Also, ensure you have the latest /usr/lib/tztab patch:
HP-UX 11.11 PHCO_39172
HP-UX 11.23 PHCO_39173
HP-UX 11.31 PHCO_39174
These may not help in this particular situation because I couldn't see any references to Egypt in the patch history.
However, refer also to this posting:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1449587
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 01:45 AM
тАО10-01-2010 01:45 AM
Re: Time Zone
It's working correctly. You don't have EGY-2EGYDST in /usr/lib/tztab and so it thinks you are in DST according to the rules in the USA.
You can also use TZ=EGY-2 to set it to two hours ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 02:24 AM
тАО10-01-2010 02:24 AM
Re: Time Zone
>it display EGY-2EGYDST (which mean two houres than UTC)
Why do you think that 'it means two houres than UTC'?
It just means that for daylight saving it's less than EGY.
Where comes -2EGYDST from?
DST is 1 hour ...
In Jim's link you can see that EGYDST is +3 hours in UTC offset - and that's what you read, right?
What does 'date' shows?
EGYDST or 2EGYDST?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 02:36 AM
тАО10-01-2010 02:36 AM
Re: Time Zone
(Well two hours ahead of UTC.)
>It just means that for daylight saving it's less than EGY.
Actually the absolute value is more on the wrong side of the world. :-)
>In Jim's link you can see that EGYDST is +3 hours in UTC offset - and that's what you read, right?
But DST time in that thread was canceled last night. But in the USA, is goes until Nov 7.
$ TZ=EET-2EEST dst.pl
Thu Apr 29 23:59:59 EET 2010 --> Fri Apr 30 01:00:00 EEST 2010
Thu Sep 30 23:59:59 EEST 2010 --> Thu Sep 30 23:00:00 EET 2010
$ TZ=EET-2EEST date
Fri Oct 1 12:33:01 EET 2010
>What does 'date' shows?
EGYDST of course, since it appears broken.
But in my system, it is perfect and has EET. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2010 03:48 AM
тАО10-01-2010 03:48 AM
Re: Time Zone
but he claims that it's 3 hours than the expected 2 hours
So:
'Actually the absolute value is more on the wrong side of the world.'
can't be right.
And - when he posted his thraed it was still EEST. Right?
Kamal - I would like to see an actual output of 'date'.
Also, why don't you use the official time zone EET (-1EEST) ?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2010 12:32 AM
тАО10-02-2010 12:32 AM
Re: Time Zone
http://www.timeanddate.com/worldclock/timezone.html?n=53
Wow, 4 changes!
>V. Nyga: but he claims that it's 3 hours than the expected 2 hours
>So: 'Actually the absolute value is more, on the wrong side of the world.'
>can't be right.
I meant the DST offset of 3 is more than the standard time of 2, on the wrong side of the world.
>when he posted his thread it was still EEST. Right?
It sure seems like it:
$ a.out EET-2EEST EGT-2EGTDST
Sep 30, 2010 20:02:17 GMT
Sep 30, 2010 23:02:17 EEST
Sep 30, 2010 23:02:17 EGTDST
So kamal's tztab could be fine, he needs to check again.
>why don't you use the official time zone EET (-1EEST)?
Because with 4 changes in a year, Egypt needs their own zone?