1846209 Members
4814 Online
110255 Solutions
New Discussion

date set,

 
Jeff Hagstrom
Regular Advisor

date set,

hpux 11.0 hpk460-9000
how do i set the time
3 REPLIES 3
Mridul Shrivastava
Honored Contributor

Re: date set,

You have to use date command.. for more details refer man pages of date.
Time has a wonderful way of weeding out the trivial
James R. Ferguson
Acclaimed Contributor

Re: date set,

Hi Jeff:

See the discussion in the 'date' manpages for the syntax and options.

Be sure that if you use '-u' that your date/time is in UTC (GMT). Otherwise the argument is presumed to be your localtime.

If you are setting time backwards, it is best to stop your databases, first. I'd also restart the 'cron' daemon afterwards. Setting time forwards (DST, perhaps?!?) isn't an issue. However, if you are "fixing" a DST issue because you didn't get the patch into your system, beware that the old rules will run in three weeks to set your localtime ahead, again!

Regards!

...JRF...
Adisuria Wangsadinata_1
Honored Contributor

Re: date set,

Hi Jeff,

Good day to you !
You can try to use 'set_parms' command, below is the url of set_parms manual :

http://docs.hp.com/en/B2355-60130/set_parms.1M.html

You can use :

set_parms timezone << to set the timezone
set_parms date_time << to set date & time

Hope this information can help.

Cheers,
AW
now working, next not working ... that's unix