title: Time Zone issue in IMAP
body: <p>I am fetching emails from Gmail.
  when i searched latest emails from Gmail using PHP Imap after a date time
  It is giving me repeated result or not accurate.</p>
  
  <p>Code sample which i am using to get next latest messages after a date time.
  I know these are Time Zones issue.
  I am storing messages in my DB.</p>
  
  <p>How to get rid from These time zones issue?</p>
  
  <pre><code>if($lastMsgTimeDate == '') {
   $date = date("j F Y H:i:s");
  }else{
   $date = date("j F Y H:i:s", strtotime($lastMsgTimeDate));
  }
  
  $emails = imap_search($inbox,'since "'.$date.'"' ); 
  </code></pre>