Mysql date comparison in Perth