title: How to get current time in Pacific Timezone when import pytz fails?
body: <p>I'm working in an environment (AWS Lambda) where <code>import pytz</code> doesn't work.</p>
  
  <p>The environment is set to UTC.</p>
  
  <p>How can I get the current time in the U.S. Pacific Timezone in this environment?</p>
  
  <p>I need something simple, and low-maintenance. Somehow forcing <code>import pytz</code> to work would be ideal, and I hope to avoid having to copy the entire pytz library into my own script.</p>
  
  <p><em>Details</em></p>
  
  <p>What have I tried so far? I tried using <code>import pytz</code>, and it failed with module not found.</p>
  
  <p>Example code? I tried this, straight from another question on SO:</p>
  
  <pre><code>import pytz
  
  eastern = pytz.timezone('US/Eastern')
  utc = pytz.utc
  test = '2013-03-27 23:05'
  </code></pre>