<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Whomwah.com &#187; timezone</title>
	<atom:link href="http://whomwah.com/tag/timezone/feed/" rel="self" type="application/rss+xml" />
	<link>http://whomwah.com</link>
	<description>The website of Duncan Robertson, currently computing for the BBC</description>
	<lastBuildDate>Fri, 06 Jan 2012 12:55:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting the timezone on CentOS</title>
		<link>http://whomwah.com/2008/10/01/setting-the-timezone-on-centos/</link>
		<comments>http://whomwah.com/2008/10/01/setting-the-timezone-on-centos/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 11:51:29 +0000</pubDate>
		<dc:creator>Duncan</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[timezone]]></category>

		<guid isPermaLink="false">http://whomwah.com/?p=582</guid>
		<description><![CDATA[I forget this pretty much all the time, even though it&#8217;s a fairly simple operation. There are loads of timezone data files stored in: /usr/share/zoneinfo So for my CentOS install, to set my machine to London time, I use: # # this is not correct for me # $ date Wed Oct 1 07:43:58 CDT [...]]]></description>
			<content:encoded><![CDATA[<p>I forget this pretty much all the time, even though it&#8217;s a fairly simple operation. There are loads of timezone data files stored in:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">/usr/share/zoneinfo</pre></div></div>

<p>So for my <a href="http://www.centos.org/">CentOS</a> install, to set my machine to London time, I use:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># this is not correct for me</span>
<span style="color:#008000; font-style:italic;">#</span>
$ date
Wed Oct  <span style="color:#006666;">1</span> 07:<span style="color:#006666;">43</span>:<span style="color:#006666;">58</span> CDT <span style="color:#006666;">2008</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># to fix it</span>
<span style="color:#008000; font-style:italic;">#</span>
$ sudo rm <span style="color:#006600; font-weight:bold;">/</span>etc<span style="color:#006600; font-weight:bold;">/</span>localtime
$ sudo ln <span style="color:#006600; font-weight:bold;">-</span>s <span style="color:#006600; font-weight:bold;">/</span>usr<span style="color:#006600; font-weight:bold;">/</span>share<span style="color:#006600; font-weight:bold;">/</span>zoneinfo<span style="color:#006600; font-weight:bold;">/</span>Europe<span style="color:#006600; font-weight:bold;">/</span>London <span style="color:#006600; font-weight:bold;">/</span>etc<span style="color:#006600; font-weight:bold;">/</span>localtime
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># now check it's ok</span>
<span style="color:#008000; font-style:italic;">#</span>
$ date
Wed Oct  <span style="color:#006666;">1</span> <span style="color:#006666;">12</span>:<span style="color:#006666;">42</span>:<span style="color:#006666;">33</span> GMT <span style="color:#006666;">2008</span></pre></div></div>

<p>I imagine this works on <a href="http://www.redhat.com/">Redhat</a> and <a href="http://fedoraproject.org/">Fedora</a> as well, but I can&#8217;t be sure on other Linux distros.</p>
]]></content:encoded>
			<wfw:commentRss>http://whomwah.com/2008/10/01/setting-the-timezone-on-centos/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

