title: How do I get a value of datetime.today() in Python that is "timezone aware"?
body: <p>I am trying to subtract one date value from the value of <code>datetime.datetime.today()</code> to calculate how long ago something was. But it complains:</p>
  <pre class="lang-none prettyprint-override"><code>TypeError: can't subtract offset-naive and offset-aware datetimes
  </code></pre>
  <p>The return value from <code>datetime.datetime.today()</code> doesn't seem to be &quot;timezone aware&quot;, while my other date value is. How do I get a return value from <code>datetime.datetime.today()</code> that is timezone aware?</p>
  <p>The ideal solution would be for it to automatically know the timezone.</p>
  <p>Right now, it's giving me the time in local time, which happens to be PST, i.e. UTC - 8 hours. Worst case, is there a way I can manually enter a timezone value into the <code>datetime</code> object returned by <code>datetime.datetime.today()</code> and set it to UTC-8?</p>