- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to set Date beyond 31st Dec 2037
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
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
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-30-2005 11:54 PM
тАО05-30-2005 11:54 PM
How to set Date beyond 31st Dec 2037
Can somebody let me know how to set date beyond 31st December 2037. My system is as below,
OS: HP-UX 11.23
Itanium servers.
Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2005 11:58 PM
тАО05-30-2005 11:58 PM
Re: How to set Date beyond 31st Dec 2037
date [mmddhhmm[[cc]yy]]
date 1231000037
It will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 12:07 AM
тАО05-31-2005 12:07 AM
Re: How to set Date beyond 31st Dec 2037
I want to set date beyond 31st Dec 2037 i,e I want to set date of the year 2038. Please suggest.
Thanks & Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 12:13 AM
тАО05-31-2005 12:13 AM
Re: How to set Date beyond 31st Dec 2037
Anyway try to do as,
date 0101000038
Is it working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 12:15 AM
тАО05-31-2005 12:15 AM
Re: How to set Date beyond 31st Dec 2037
http://docs.hp.com/en/948/libcy2k.html
http://www.uic.edu/depts/accc/software/isodates/datefix.html
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 12:38 AM
тАО05-31-2005 12:38 AM
Re: How to set Date beyond 31st Dec 2037
Actually this is a known UNIX bug & it has to do with how the date is tracked. It uses seconds past midnight Jan 1 1970.
It can only hold 2 to the 31 power which is Jan 19 2038.
This can usually be solved by using a 64-bit system, but you already are running one so I suspect you probably need a patch or firmware update.
I searched the patch database & could find no explicit patch for this so you should probably log a SW call with the Response Center.
See this URL for a little perl script to see if the system is 2038 compliant.
http://www.gsp.com/2038/
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 12:49 AM
тАО05-31-2005 12:49 AM
Re: How to set Date beyond 31st Dec 2037
11.23 is 64bit, but some commands are not yet.
getdate will work, providing you use the correct options.
man getdate
man ctime
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 01:15 AM
тАО05-31-2005 01:15 AM
Re: How to set Date beyond 31st Dec 2037
Even with comman "date 0101000038" it is giving me error "exceeds maximum date"
Do I need to aply any patch for this ?
Regards
Varian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 01:20 AM
тАО05-31-2005 01:20 AM
Re: How to set Date beyond 31st Dec 2037
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 01:38 AM
тАО05-31-2005 01:38 AM
Re: How to set Date beyond 31st Dec 2037
To start with do 'man date' and look for other date related routines in "SEE ALSO" section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 02:18 AM
тАО05-31-2005 02:18 AM
Re: How to set Date beyond 31st Dec 2037
man date
on an Itanium (11.23 with the absolute most latest patches):
Currently, the maximum date supported is December 31, 2037 23:59:00 UTC.
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2005 06:27 PM
тАО05-31-2005 06:27 PM
Re: How to set Date beyond 31st Dec 2037
Regards