PHP Function date() being manipulated by WP?
-
Since I updated my wordpress installation, the PHP function date is showing the wrong date (now + 2 hours). I tried changing the timezone in the general options, no solution. The server time is correct.
For example:
$date = date(“G”);
this code on a plugin is returning 19 (wrong date)
the same code on a separated page (off wordpress system) returns 17 (correct date).
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘PHP Function date() being manipulated by WP?’ is closed to new replies.