Server with correct time, but PHP with early time

Asked

Viewed 309 times

0

My server (Cent OS) is at the correct time (10:10 hours I am creating the post), but in PHP when I give the command echo date('H:i') the result is 11:10 (an hour early). I don’t know what might be causing this problem.

  • 3

    https://answall.com/questions/337935/hor%C3%A1rio-de-ver%C3%A3o

  • Valew, just update the php timezonedb

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.