Connexion | Inscription | FAQ
Anonymous

PHP date.timezone wrong

+ Publier une réponse

1 message Page 1 sur 1


PHP date.timezone wrong

par Janga » Mer Mai 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.
Avatar de l’utilisateur

Janga

  • Messages: 1
  • Inscrit le: Mer Mai 02, 2018 5:51 am


+ Publier une réponse

Page 1 sur 1