- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Timezone in SA - JNB
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
тАО08-06-2002 08:42 AM
тАО08-06-2002 08:42 AM
I have a query regarding the time in JNB
According to references the time in JNB should be GMT+2 hrs Therefore local time is now 18:40ish
If I have a look on the server
date and date -u
:/ # date
Tue Aug 6 19:09:01 SADT 2002
:/ # date -u
Tue Aug 6 16:09:39 UTC 2002
I have checked this on a server I am working on at the moment and chnaged the timezone as per and it's the same, local time is UTC+3hrs as opposed to 2hrs
The /etc/TIMEZONE file is
TZ=SAST-2SADT
export TZ
Any ideas as per why the universal time is incorrect ?
Thanks in advance
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 08:45 AM
тАО08-06-2002 08:45 AM
Re: Timezone in SA - JNB
current time
:/ # date
Tue Aug 6 18:48:08 SADT 2002
:/ # date -u
Tue Aug 6 15:48:17 UTC 2002
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 11:50 AM
тАО08-06-2002 11:50 AM
Re: Timezone in SA - JNB
JNB = Johannesburg - South Africa
Any ideas ?
Thanks
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 11:22 PM
тАО08-06-2002 11:22 PM
SolutionYou need to change the TZ from SAST-2SADT to SAST-2
This has been fixed in 11i by the way
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2002 11:41 PM
тАО08-06-2002 11:41 PM
Re: Timezone in SA - JNB
Here's one of our servers in Jo'burg (OS=10.20):
jo1p6p-1 # date
Wed Aug 7 09:44:30 SAST 2002
jo1p6p-2 # date -u
Wed Aug 7 07:44:39 UTC 2002
jo1p6p-3 # grep SAST /etc/TI*
/etc/TIMEZONE:TZ=SAST-2
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 12:44 AM
тАО08-07-2002 12:44 AM
Re: Timezone in SA - JNB
As mentioned by the others, /etc/TIMEZONE should reflect TZ=SAST-2, but also check your kernel parameters namely the dst setting to "0".
If you ever go to a customer in Namibia however who theoretically are also SAST-2SADT, good luck - give me a call. Their daylight savings time does not conform to any known standard!
Cheers
Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 01:07 AM
тАО08-07-2002 01:07 AM
Re: Timezone in SA - JNB
The kernel parameters dst and timezone are not used by the date command. In fact they are only used by some old system calls that are rarely used anymore. The two system calls are gettimeofday(2) and ftime(2).
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 03:02 AM
тАО08-07-2002 03:02 AM
Re: Timezone in SA - JNB
Thanks for the replies. SA do not use daylight saving
Melvyn. I changed the timezone on an 11i server I am building at the moment and found the setting also to be incorrect
Regards
Steve