{"id":281,"date":"2012-10-17T16:14:06","date_gmt":"2012-10-17T05:14:06","guid":{"rendered":"http:\/\/fallowbrow.rumblehead.com\/?p=281"},"modified":"2012-10-17T16:14:06","modified_gmt":"2012-10-17T05:14:06","slug":"listing-linux-tz-environment-variable","status":"publish","type":"post","link":"https:\/\/rumblehead.com\/fallowbrow\/?p=281","title":{"rendered":"Listing Linux TZ Environment Variable"},"content":{"rendered":"<p>Time zones can be confusing. If you want to see a list of time-zones you can use in the Perl $ENV{TZ} = &#8216;xxxx&#8217; you can have a look at the Timezone files in \/usr\/share\/zoneinfo<\/p>\n<p>Here is a quick way to see the available timezones in Europe:<\/p>\n<p><code>tail -n 1 \/usr\/share\/zoneinfo\/Europe\/* | sed -r 's\/,.+\/\/'<\/code><\/p>\n<p>This returns a bunch of stuff like this:<\/p>\n<blockquote><p>==&gt; \/usr\/share\/zoneinfo\/Europe\/Gibraltar &lt; ==<br \/>\nCET-1CEST<br \/>\n==&gt; \/usr\/share\/zoneinfo\/Europe\/Guernsey &lt; ==<br \/>\nGMT0BST<br \/>\n==&gt; \/usr\/share\/zoneinfo\/Europe\/Helsinki &lt; ==<br \/>\nEET-2EEST<\/p><\/blockquote>\n<p>The line starting with ==&gt; is the name of the file, and the following line the TZ code.<\/p>\n<p>You can change &#8216;Europe&#8217; to America, Australia, Africa etc. Have a look in \/usr\/share\/zoneinfo to see all the available folders.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time zones can be confusing. If you want to see a list of time-zones you can use in the Perl $ENV{TZ} = &#8216;xxxx&#8217; you can have a look at the Timezone files in \/usr\/share\/zoneinfo Here is a quick way to see the available timezones in Europe: tail -n 1 \/usr\/share\/zoneinfo\/Europe\/* | sed -r &#8216;s\/,.+\/\/&#8217; This [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[32,44,58],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-technomolology","tag-linux","tag-perl","tag-timezone"],"_links":{"self":[{"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=281"}],"version-history":[{"count":0,"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=\/wp\/v2\/posts\/281\/revisions"}],"wp:attachment":[{"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rumblehead.com\/fallowbrow\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}