What is the closest thing to 'date_default_timezone_set' in PHP4?
<p>How can I achieve a similar effect to 'date_default_timezone_set' in PHP4? I need to use the date() function while taking into account local time zones and also day light saving.</p>

<p>Edit: example with putenv:</p>

<pre><code>putenv('TZ=Australia/Victoria');    
echo date('l jS \of F Y h:i:s A');
</code></pre>

<p>Outputs</p>

<blockquote>
  <p>Thursday 6th of October 2011 07:36:49 PM</p>
</blockquote>

<p>Actual time here in Victoria</p>

<blockquote>
  <p>Friday 7th October 2011 06:36:49 AM</p>
</blockquote>
