title: How do I alter the timezone of a DateTime in Ruby?
body: <p>Reading, writing, and serializing dates and times while keeping the time zone constant is becoming annoying.  I'm using Ruby (and Rails 3.0) and am trying to alter the time zone of a DateTime. (to UTC) but not the time itself.</p>
  
  <p>I want this:</p>
  
  <pre><code>t = DateTime.now
  t.hour
  -&gt; 4
  t.offset = 0
  t.hour
  -&gt; 4
  t.utc?
  -&gt; true
  </code></pre>
  
  <p>The closest I have come is this, but it's not intuitive.</p>
  
  <pre><code>t = DateTime.now
  t.hour
  -&gt; 4
  t += t.offset
  t = t.utc
  t.hour
  -&gt; 4
  t.utc?
  -&gt; true
  </code></pre>
  
  <p>Is there any better way?</p>