SELECT * FROM user WHERE date_format(registered_on,"%Y-%m-%d") = CURDATE(); or for count SELECT COUNT(*) FROM user WHERE date_format(registered_on,"%Y-%m-%d") = CURDATE();