Output of date() and DateTime::format() differ, DateTime::format() ignores timezone

前端 未结 0 532

I\'ve set the timezone of PHP to \'Europe/Berlin\' in php.ini, which should be +1 to UTC (in winter).

When I output a unix timestamp (UTC) to the user (w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题