I am trying to offset my timezone by 8 hours.
I tried:
...but I keep getting Error Message:PHP Code:var $offset = 8 ;
var $now = DATE_ADD(NOW(),INTERVAL $offset HOUR);
Parse error: syntax error, unexpected '(', expecting ',' or ';'
I've compared the syntax to various sources & it seems correct. Any ideas on what is wrong?
I even tried:
...& it returned the same Error Message.PHP Code:var $now = NOW();



Reply With Quote

Bookmarks