I am trying to get all the votes from TODAY THE CURRENT , and I have almost achieved that with the following mysql query, but there's one problem.
This code gets me the votes from today:
SELECT COUNT(*) FROM votes WHERE `when` > CURRENT_DATE
but when inserting into mysql using now()
the now() is 1 hour behind my timezone (Europe/London) how can I fix that?
Thanks.