I know this might sound a silly question, but I did not find in PHP documentation somewhere were they state loud and clear this one.
I have got a web application.
Users of my web appliations are in Europe, but the server running the web appliation is in US.
How should I set the date.timezone php ini directive???
I suppose to where the server is located so if it’s in New York: date.timezone = “America/New_York”
But am I right?
According to what I read here around on SO the answers is:
to “UTC” (i.e. 0)
let Javacscript transform the UTC Unix time stamp in client time by simply doing:
new Date(<?php echo DATE_TIME_SERVER_UTC; ?> * 1000);