{"id":215,"date":"2013-07-08T18:15:00","date_gmt":"2013-07-08T18:15:00","guid":{"rendered":"http:\/\/143@jodohost.com\/\/blog\/"},"modified":"2013-07-08T18:15:00","modified_gmt":"2013-07-08T18:15:00","slug":"changing-the-timezone-on-linux","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2013\/07\/08\/changing-the-timezone-on-linux\/","title":{"rendered":"Changing the timezone on Linux"},"content":{"rendered":"<p>How to change the timezone on Linux:<\/p>\n<p>In the Linux machine, to setup the timezone we need to create a symlink as \/etc\/localtime to the time zone file in the system time zone directory. Follow the simple steps below to do that :- <\/p>\n<p>Create a symlink to the file localtime in the etc directory as below :-<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>To set the timezone to US Central use the command below :- <\/p>\n<p># ln -sf \/usr\/share\/zoneinfo\/US\/Central \/etc\/localtime<\/p>\n<p>[root@linux] date <br \/>Mon Jul\u00a0 8 18:01:47 CDT 2013<\/p>\n<p>OR if you want to set it to IST (Asia\/Calcutta):-<\/p>\n<p># ln -sf \/usr\/share\/zoneinfo\/Asia\/Calcutta \/etc\/localtime<\/p>\n<p>[root@linux] date <br \/>Tue Jul\u00a0 9 04:31:35 IST 2013<\/p>\n<p>To verify the timezone, use the &#8216;date&#8217; command to verify that your timezone has changed.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to change the timezone on Linux: In the Linux machine, to setup the timezone we need to create a symlink as \/etc\/localtime to the time zone file in the system time zone directory. Follow the simple steps below to do that :- Create a symlink to the file localtime in the etc directory as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/215"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":0,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}