title: PHP get user's local time (in SMF)
body: <p>I know php isn't very handy when it gets to fetching local time because it requires the user to have a cookie with the corresponding offset. I'm looking to get a value for the user's time using SMF (which should already have this information in the databse). I couldn't find out how to do this by using smf's site, so I'm asking here.</p>
  
  <p>If you're wondering why, it's because I have 2 themes a "day" and a "night" theme. I want the night one to be displayed if the time falls between the two corresponding times.</p>
  
  <p>BTW you can see these themes here: <a href="http://hetoan2.com/forum" rel="nofollow">http://hetoan2.com/forum</a> and night: <a href="http://hetoan2.com/forum?v=night" rel="nofollow">http://hetoan2.com/forum?v=night</a></p>
  
  <p>thanks for your help :D</p>