{"id":2401,"date":"2015-07-11T19:04:05","date_gmt":"2015-07-11T19:04:05","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2401"},"modified":"2015-07-11T19:04:05","modified_gmt":"2015-07-11T19:04:05","slug":"change-date-for-ubuntu-server","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/07\/11\/change-date-for-ubuntu-server\/","title":{"rendered":"Change Date for Ubuntu Server"},"content":{"rendered":"<p>Check your current timezone by just running<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# date\nThu Mar 21 18:02:49 MST 2012\n\n<\/pre>\n<p>Or checking the timezone file at<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# more \/etc\/timezone\nUS\/Arizona\n\n<\/pre>\n<p>So to change it just run<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n$ sudo dpkg-reconfigure tzdata\n\n<\/pre>\n<p>And follow on screen instructions.  Easy.<\/p>\n<p>Also be sure to restart cron as it won\u2019t pick up the timezone change and will still be running on UTC.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# \/etc\/init.d\/cron stop\n# \/etc\/init.d\/cron start\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Check your current timezone by just running # date Thu Mar 21 18:02:49 MST 2012 Or checking the timezone file at # more \/etc\/timezone US\/Arizona So to change it just run $ sudo dpkg-reconfigure tzdata And follow on screen instructions. Easy. Also be sure to restart cron as it won\u2019t pick up the timezone change &#8230; <a title=\"Change Date for Ubuntu Server\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/07\/11\/change-date-for-ubuntu-server\/\" aria-label=\"Read more about Change Date for Ubuntu 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":[117],"tags":[],"class_list":["post-2401","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2401","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=2401"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2401\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}