{"id":732,"date":"2014-10-03T03:13:01","date_gmt":"2014-10-03T03:13:01","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=732"},"modified":"2014-10-03T03:13:01","modified_gmt":"2014-10-03T03:13:01","slug":"datetimezone-for-centos-server","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/03\/datetimezone-for-centos-server\/","title":{"rendered":"Date\/Timezone for CentOS 6.5 server"},"content":{"rendered":"<p>My Server time Zone was +00:00 GMT and today I found the time showing +1:00 GMT . Would you please tell how it has been changed ? Is that because of Daylight Saving issue ? <\/p>\n<p>The server currently is set to British Summer Time, which is UTC +1 currently, you can change the time zone to UTC\/GMT which does not adjust for Daylight Saving Time, you can run the following commands to set the time zone to UTC:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nmv \/etc\/localtime \/etc\/localtime.bak\nln -s \/usr\/share\/zoneinfo\/UTC \/etc\/localtime\n\n<\/pre>\n<p>You can prevent this from being changed by updates by running:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\nchattr +i \/etc\/localtime\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>My Server time Zone was +00:00 GMT and today I found the time showing +1:00 GMT . Would you please tell how it has been changed ? Is that because of Daylight Saving issue ? The server currently is set to British Summer Time, which is UTC +1 currently, you can change the time zone &#8230; <a title=\"Date\/Timezone for CentOS 6.5 server\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/10\/03\/datetimezone-for-centos-server\/\" aria-label=\"Read more about Date\/Timezone for CentOS 6.5 server\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,11],"tags":[],"class_list":["post-732","post","type-post","status-publish","format-standard","hentry","category-administration","category-centos6"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=732"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/732\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}