{"id":472,"date":"2010-07-25T21:27:28","date_gmt":"2010-07-25T21:27:28","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/07\/25\/how-to-set-the-time-date-and-timezone-in-centos\/"},"modified":"2021-07-30T13:52:46","modified_gmt":"2021-07-30T13:52:46","slug":"how-to-set-the-time-date-and-timezone-in-centos","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Redhat-Fedora\/how-to-set-the-time-date-and-timezone-in-centos.html","title":{"rendered":"How to set the Time \/ Date and Timezone in CentOS"},"content":{"rendered":"
In this article we will show you how to set the time, date and timezone within CentOS. Though I’m sure this method will remain the same through the various Linux distributions.<\/p>\n
Below are the commands that are required. For the date command this will set the time and date to 25th July 22:17. The syntax is `date MMDDhhmmYYYY`.<\/em><\/p>\n To confirm your machine is set with the right time and date run the following commands :<\/p>\n [root@server ~]# hwclock In this article we will show you how to set the time, date and timezone within CentOS. Though I’m sure this method will remain the same through the various Linux distributions. Steps Set the time zone Set the time and date Sync the hwclock with the current time and date Commands Below are the commands … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[],"yoast_head":"\nrm \/etc\/localtime\r\nln -s \/usr\/share\/zoneinfo\/GMT \/etc\/localtime\r\ndate 072522172010\r\nhwclock --systohc<\/pre>\n
Confirm Settings <\/strong><\/h2>\n
[root@server ~]# date\r\nSun Jul 25 22:38:47 GMT 2010<\/pre>\n
\nSun 25 Jul 2010 10:38:51 PM GMT\u00a0 -0.125883 seconds<\/p>\n","protected":false},"excerpt":{"rendered":"