title: PHP - Convert String Timezone Format to Offset Integer
body: <p>Pretty straightforward:</p>
  
  <p>PHP returns timezones in the following format:</p>
  
  <pre><code>"America/Los_Angeles"
  </code></pre>
  
  <p>I want to convert it to:</p>
  
  <pre><code>-7
  </code></pre>
  
  <p>I found many codes to convert it, calculating differences with custom functions.. but as a minimalist I can't believe there isn't a simpler way (perhaps a datetime function) to get the value right away.. anyone know about this?</p>