replace AND DATE(projectcreatedon) =CURRENT_DATE AND DATEPART() <....? z:
AND projectcreatedon > (now() - INTERVAL 10 SECOND)
replace AND DATE(projectcreatedon) =CURRENT_DATE AND DATEPART() <....? z:
AND projectcreatedon > (now() - INTERVAL 10 SECOND)