Incorrect Time Stamp in Spam Reports
Posted by Gary, Last modified by on 13 April 2011 12:28 PM

AntiSpam

 

 

Introduction

If you have noticed the time stamp being off when viewing spam reports it might mean PHP is set with the incorrect Time Zone.

 

Solution 

To correct the Time Zone, please follow the steps below.

 

  • Navigate to the /IceWarp/PHP folder

  • Open the php.ini file



  • Scroll to the bottom of the file until you see the [IceWarp] heading

 

  • Under this you will see the following option "date.timezone" = "timezone"

  • Edit the timezone to reflect the time zone you are in. The timezone property is pulled from PHP, so please refer to the URL below for a list of PHP supported timezone formats.

    http://php.net/manual/en/timezones.php


  • For example, if you want to use EST then specify the following:

    date.timezone = "America/New_York"

  • Restart the Web module for this update to be applied.

  • When this is complete the reports and PHP will be set to use the timezone you specified in the php.ini file and thus the time stamp on all reports will be accurate.