Fetching today's records actually getting yesterdays records in PHP and MySQL – Phpmyadmin
I used to get today's record from MySQL database. I used this code: $whr_follow = "(DATE(R.reg_time) = Date(NOW()) )" ; $this->db->where($whr_follow); Today is march 1st, but I get yesterdays. In local server it works fine. I tried select now() query…