title: How to fix PHP errors related to timezone (function.strtotime and function.date)
body: <p>Upgrading to a new server, I two repeated errors:</p>
  
  <blockquote>
    <p>Warning: strtotime() [function.strtotime]: It is not safe to rely on
    the system's timezone settings. You are <em>required</em> to use the
    date.timezone setting or the date_default_timezone_set() function. In
    case you used any of those methods and you are still getting this
    warning, you most likely misspelled the timezone identifier. We
    selected 'America/New_York' for 'EST/-5.0/no DST' instead in...</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>Warning: date() [function.date]: It is not safe to rely on the
    system's timezone settings. You are <em>required</em> to use the
    date.timezone setting or the date_default_timezone_set() function. In
    case you used any of those methods and you are still getting this
    warning, you most likely misspelled the timezone identifier. We
    selected 'America/New_York' for 'EST/-5.0/no DST' instead in</p>
  </blockquote>
  
  <p>How do I go about fixing these?</p>
  
  <p>Code in question is this:</p>
  
  <pre><code>'date' =&gt; date("Y-M-d",strtotime($Array['_dateCreated'])),
  </code></pre>
  
  <p>I've tried putting this in an include at the top of all my pages:</p>
  
  <pre><code>&lt;?php
  date_default_timezone_set('America/New_York');
  ?&gt;
  </code></pre>
  
  <p>Thanks in advance for your help.</p>