This question already has an answer here:
The SF doc explains how to put a Datetime query in a SOQL query.
SELECT Id
FROM Account
WHERE CreatedDate > 2005-10-08T01:02:03Z
I need to just put in a date for this query. Something like:
SELECT Id
FROM Account
WHERE CreatedDate > 2005-10-08
But that throws an error. Any ideas?