HowTo: UNIX Set Date and Time Command

Posted on in Categories last updated April 26, 2011

I recently noticed that one of my UNIX servers was about 4 hours behind the correct time. I wanted to correct the date and time manually. How do I set date and/or time under UNIX operating systems using command line options?