Operating System - HP-UX
1752377 Members
5849 Online
108787 Solutions
New Discussion юеВ

Change the system time in HPUX box

 
HP UNIX Professionals
Frequent Advisor

Change the system time in HPUX box

Hi,

I need to change the system time in HPUX box, 30 min forward

Cruuent time is - Wed Nov 25 21:30:00 EST 2009
New time - Wed Nov 25 22:00:00 EST 2009

1.How to change, which command i have to use

2.sysemt reboot is required for this time change ?

Please give me answer for my querrys

Thanks in advance.

vinay
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: Change the system time in HPUX box

man date

If you're running ntp, it may be hard to get
a manual time change to persist.

2. No.
Kranti Mahmud
Honored Contributor

Re: Change the system time in HPUX box

Hi Vinay,

You can change time temporarily but it will change after the server got reboot. For permanent change, you need to edit the tztab file and also need to edit the /etc/TIMEZONE.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Kapil Jha
Honored Contributor

Re: Change the system time in HPUX box

I suppose you don have to change time zone.
to change the time simply use date command.

If you have NTP then it would not change and would sync with NTP server.

If not then its pretty simple and as you forwarding the time there would not be any issue with oracle as well.

BR,
Kapil+
I am in this small bowl, I wane see the real world......