I think I have made several ntp settings, and make synchronization across multiple servers on different timezones. On my php scripts, date is displayed randmomly for (+2 , +3 timezone ) , for example on first refresh shows 15:08 , for other refresh shows 16:08. How to solve this problem ?
Asked
Active
Viewed 100 times
1 Answers
2
You can force PHP to use the value set in php.ini. Search for date.timezone in php.ini and adjust accordingly.

Ken S.
- 479
- 5
- 14