title: Changing the timezone on the fly
body: <p>I have a small php server side app where the user is allowed to change their timezone. I have set the default timezone in the ini file but will need to change this on the fly so that I can pass the user defined time into a database query to get the proper results. What might be the best way to handle this? Should I be using date_default_timezone_set()?</p>
  
  <p>EDIT: Is this a difficult task or haven't I explained what I need well enough?</p>