Breaking News
Loading...
Saturday, July 20, 2013

How to Change the Current Date and Time on CentOS 6.2

8:46 PM


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
    

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Toggle Footer