title: PHP time() and strtotime() Difference in DST
body: <p>Just a quick one. On my site I have a couple of different methods of storing the date in the database. For automatically created dates (i.e. signup time etc.) I use time().</p>
  
  <p>But for manually entered dates I use <code>strtotime()</code>.</p>
  
  <p>The problem is, with <code>date_default_timezone_set('UTC')</code> <code>strtotime()</code> is correct but <code>time()</code> is an hour behind.</p>
  
  <p>And vice versa <code>date_default_time_set('Europe/London')</code> <code>time()</code> is correct but <code>strtotime()</code> is an hour behind.</p>
  
  <p>I need both to be right, in a way I don't have to change my code when we leave DST. What is the best way to go about this.</p>
  
  <p>Cheers,
  RJ</p>