HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- adjust clock time on rp2470
Operating System - HP-UX
1833760
Members
2177
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
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-26-2003 09:11 AM
10-26-2003 09:11 AM
Hi,
UX 11.00; rp2470.
I have issued cmd: date -u 102709032003
I wanted the time to say 09:03 when issue date cmd. But, it is has given me:
# date
Mon Oct 27 20:05:01 EDT 2003
#
Have I done something incredibly stupid? Hope someone can help me out here..
thanks
Maria.
UX 11.00; rp2470.
I have issued cmd: date -u 102709032003
I wanted the time to say 09:03 when issue date cmd. But, it is has given me:
# date
Mon Oct 27 20:05:01 EDT 2003
#
Have I done something incredibly stupid? Hope someone can help me out here..
thanks
Maria.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2003 09:17 AM
10-26-2003 09:17 AM
Solution
Hi Maria,
Don't use 'date -u xxxxx'
# date 102709162003
The -u sets it to UTC time which is another name for GMT. You might want to check that your /usr/lib/tztab file is correct. You may have a coordination problem, not an actual date problem. Here is a snippet from my /usr/lib/tztab file.
# Australian Central Standard Time, Australian Central Daylight Time
# (South Australia)
#
# This entry has been changed to allow for a later ending of
# daylight savings time from 1995 onwards in South Australia.
# It now ends in the last week of March.
#
CST-9:30CDT
0 3 25-31 10 1971-2038 0 CDT-10:30
0 1 27 2 1972 0-6 CST-9:30
0 1 1-7 3 1973-1994 0 CST-9:30
0 2 25-31 3 1995-2038 0 CST-9:30
# Australian Eastern Standard Time, Australian Eastern Daylight Time
#
# This entry has been changed to allow for a later ending of
# daylight savings time from 1996 onwards.
# It now ends in the last week of March.
#
# This entry has been changed to allow an earlier start of
# daylight savings time for Sydney Olympics 2000.
#
EST-10EDT
0 3 25-31 10 1971-1999 0 EDT-11
0 3 27 8 2000 0-6 EDT-11
0 3 25-31 10 2001-2038 0 EDT-11
0 1 27 2 1972 0-6 EST-10
0 1 1-7 3 1973-1985 0 EST-10
0 1 15-21 3 1986 0 EST-10
0 1 1-7 3 1987-1995 0 EST-10
0 2 25-31 3 1996-2038 0 EST-10
# New Zealand Standard Time, New Zealand Daylight Time
HTH
Michael
Don't use 'date -u xxxxx'
# date 102709162003
The -u sets it to UTC time which is another name for GMT. You might want to check that your /usr/lib/tztab file is correct. You may have a coordination problem, not an actual date problem. Here is a snippet from my /usr/lib/tztab file.
# Australian Central Standard Time, Australian Central Daylight Time
# (South Australia)
#
# This entry has been changed to allow for a later ending of
# daylight savings time from 1995 onwards in South Australia.
# It now ends in the last week of March.
#
CST-9:30CDT
0 3 25-31 10 1971-2038 0 CDT-10:30
0 1 27 2 1972 0-6 CST-9:30
0 1 1-7 3 1973-1994 0 CST-9:30
0 2 25-31 3 1995-2038 0 CST-9:30
# Australian Eastern Standard Time, Australian Eastern Daylight Time
#
# This entry has been changed to allow for a later ending of
# daylight savings time from 1996 onwards.
# It now ends in the last week of March.
#
# This entry has been changed to allow an earlier start of
# daylight savings time for Sydney Olympics 2000.
#
EST-10EDT
0 3 25-31 10 1971-1999 0 EDT-11
0 3 27 8 2000 0-6 EDT-11
0 3 25-31 10 2001-2038 0 EDT-11
0 1 27 2 1972 0-6 EST-10
0 1 1-7 3 1973-1985 0 EST-10
0 1 15-21 3 1986 0 EST-10
0 1 1-7 3 1987-1995 0 EST-10
0 2 25-31 3 1996-2038 0 EST-10
# New Zealand Standard Time, New Zealand Daylight Time
HTH
Michael
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2003 09:19 AM
10-26-2003 09:19 AM
Re: adjust clock time on rp2470
Hello there,
Looks like I was a bit hasty... I have fixed it. Issuing the date command without the -u option allowed time to be set correctly, not in Coordinated Universal Time (UTC), checked the man pages properly.
Regards,
Maria
Looks like I was a bit hasty... I have fixed it. Issuing the date command without the -u option allowed time to be set correctly, not in Coordinated Universal Time (UTC), checked the man pages properly.
Regards,
Maria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2003 09:27 AM
10-26-2003 09:27 AM
Re: adjust clock time on rp2470
Thanks for the info Michael. Checked tztab file all looks ok.
see ya
Maria.
see ya
Maria.
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 2025 Hewlett Packard Enterprise Development LP