Monday, May 28, 2012

How to Change current time in linux or solaris or unix

change the with "date" command .

given date format is [MMDDhhmm[[CC]YY][.ss]]

like belows

[root@RAC1 etc]#

[root@RAC1 etc]# date 052917012012

---(month 05, date 29 ,17 hour, 01 minute ,2012 year) [.12 second]

Tue May 29 17:01:00 BDT 2012

[root@RAC1 etc]#


Andrew Reid said...

I enjoyed this so I translated it into Spanish so Spanish speakers could enjoy it too.

Andrew Reid said...

I had to move the Spanish version of this post to a new URL. Please delete my earlier comment.