1834697 Members
2493 Online
110069 Solutions
New Discussion

Time set in hpux 11i

 
sandeepd
Occasional Advisor

Time set in hpux 11i

Hi
I am useing hpux 11i my system date is one month forward form current date & time.
ex. Mon Jul 7 12:42:21 IST 2008.
I try to set current date by useing command
date 06071130 but it not accept .

plsese suggest.

Thanks in advance

sandeep
4 REPLIES 4
Avinash20
Honored Contributor

Re: Time set in hpux 11i

USe

# set_parms date_time

Please assign the points.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Time set in hpux 11i

Please see that you login via root :)
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Steven Schweda
Honored Contributor

Re: Time set in hpux 11i

> [...] but it not accept .

Was there an error message, or should we
guess?
Asif Sharif
Honored Contributor

Re: Time set in hpux 11i

Hi Sandeep,

Setting the system date back(Current time) in time can be dangerous, especially if you are running time sensitive applications/databases.

If you want to adjust the system date, the format is:

date MMDDhhmmCCYY
where MM=two digit MONTH
DD=two digit DAY
hh=two digit time (1pm = 13)
mm=two digit minute
CC=two digit CENTURY
YY=two digit YEAR

date 060712302008

Regards,
Asif Sharif
Regards,
Asif Sharif