Home > php_mysql > MySql date timezone

MySql date timezone

Knowing the time offset, you can replace all your SQL statements of

    SELECT NOW();

with

    SELECT DATE_ADD(NOW(), INTERVAL 2 HOUR);
Categories: php_mysql Tags:
  1. No comments yet.
  1. No trackbacks yet.

17043 pages viewed, 0 today
11075 visits, 0 today
FireStats icon Powered by FireStats