How to Change the Current Date and Time on CentOS 6.2

Related Articles

Symptom:
My CentOS 6.2 time is not correct.

Solution:
Change the current time manually as below:

1. To display the current:

    [root@centos6 ~]# date
    Fri Jan  6 11:28:23 MYT 2012
    

2. To Change the current date:

    [root@centos6 ~]# date 010611272012
    Fri Jan  6 11:27:00 MYT 2012
    
    MM - Two digit month number
    DD - Two digit date
    hh - Two digit 24 hour system hour
    mm - Two digit minute
    YYYY - Four digit year code
    
Sign up for the WP Engine affiliate program and receive a minimum of $150 per referral!

As always if you need any help you can reach us on twitter @ehowstuff or drop us a comment below. Jumping through archives page to read more articles..


Skytech is a part time blogger that has over 6 years experience in servicing, repairing and configuring computers and administering the server systems.

Related Articles

Powered by WordPress · Designed by Theme Junkie