- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I change the system date on an HP-UX operat...
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
12-06-2002 07:10 AM
12-06-2002 07:10 AM
How do I change the system date on an HP-UX operating system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:13 AM
12-06-2002 07:13 AM
Re: How do I change the system date on an HP-UX operating system?
date 12060914
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:14 AM
12-06-2002 07:14 AM
Re: How do I change the system date on an HP-UX operating system?
date
in format mmddhhmm[cc]yy
you should shutdown to single user mode first (init s) then change date, then reboot, to ensure all system processes pick up the new date correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:14 AM
12-06-2002 07:14 AM
Re: How do I change the system date on an HP-UX operating system?
# man date
for more information.
# date 120609152002
Will change the date on the system to 09:15 Dec. 6, 2002.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:15 AM
12-06-2002 07:15 AM
Re: How do I change the system date on an HP-UX operating system?
date mmddhhmm(yy) that's it.
You can check the command with man date.
It is month-day-hour-minute(year not needed)
Regards
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 07:27 AM
12-06-2002 07:27 AM
Re: How do I change the system date on an HP-UX operating system?
You already got solutions, but changing system date can disturb some applications. If you want to do it anyway without rebooting the system and if your change is not too big, you can use '-a' option of date to slowly adjust system date. See man date.
To slowly go 15 mn earlier use :
date -a -900 (15 * 60)
To slowly go 10 mn later use :
date -a 600 (10 * 60)
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 10:03 AM
12-06-2002 10:03 AM
Re: How do I change the system date on an HP-UX operating system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 10:20 AM
12-06-2002 10:20 AM
Re: How do I change the system date on an HP-UX operating system?
set_parms date
g'luck!
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 12:53 PM
12-06-2002 12:53 PM
Re: How do I change the system date on an HP-UX operating system?
As it is already said above
try man on date and adjust
the date accordingly.
The date format is: mmddhhmmyy
mm - month 0-12
dd - day 0-31
hh - hour 0-12
mm - minute 0-60
yy - year 0-12
Example:
Set date to Dec 1st 4.00PM
#date 1201160002
date: do you really want to run time backwards?[yes/no]y
Only "yes" will make it take!
Thanks,
Lanke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 01:02 PM
12-06-2002 01:02 PM
Re: How do I change the system date on an HP-UX operating system?
yy - year 0-9999
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2002 01:21 PM
12-06-2002 01:21 PM