Change GENERAL Time Zone

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change GENERAL Time Zone

    PHP 5.2+ i guess

    put in ur core.php or config.php or at d top of every file. Make sure its at d top.

    ini_set('date.timezone','Europe/london');

    "europe/london" is d bit u shud change. Go to php and search for d possible values that correspond to ur area.

    NOTE: It will also affect time inputed in ur db, so its adviceable u put it in a file dat'l be included on all files or manually put it at d top of all files.
Working...
X