PHP date()
& time()
return incorrect time:
When date.timezone = \"Europe/Riga\"
the time returned by date()
was <
Reading PHP manual seems that behaviour of date.timezone is affected by settings in php.ini. There is another way to set the default timezone in all date/time function and it's the date_default_timezone_set. Try to set it with:
date_default_timezone_set('Europe/Riga');
instead of your date.timezone code.