Jump to content

[SOLVED] date time not accurate for date();


zgkhoo

Recommended Posts

Your PHP.ini file:

[Date]
; Defines the default timezone used by the date functions
date.timezone =

 

In this directive, you need to list a timezone identifier, of which the list can be found here: http://us.php.net/manual/en/timezones.php

 

Also go into Windows and check your timezone. Double click the time at the bottom right of your screen in the system tray, click the timezone tab and set it properly.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.