Login | Register | FAQ
Anonymous

PHP date.timezone wrong

+ Post a reply

1 post Page 1 of 1


PHP date.timezone wrong

by Janga » Wed May 02, 2018 5:59 am

I keep getting the wrong time and date when I run the examples in the PHP tutorial for my first php page. I tried changing the timezone in php.ini file to America/Jamaica, UTC -8, Jamaica etc. All these have given me the wrong date and also either the wrong time entirely or a time that is a couples hours off. I don't know what to make of this. If anyone knows of a way to get the right time for Jamaica in php 7.0.
User avatar

Janga

  • Posts: 1
  • Joined: Wed May 02, 2018 5:51 am


+ Post a reply

Page 1 of 1