function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How to write SOQL query to get the records CreatedDate > 90days
KRISH9,
There are some already defined, Try using them as a filter criteria in your query.
For your case it would be like Below:
SELECT Id FROM Account WHERE CreatedDate > LAST_90_DAYS
Refer this link for more date literals.
SELECT Id FROM Account WHERE CreatedDate < LAST_90_DAYS
KRISH9,
There are some already defined, Try using them as a filter criteria in your query.
For your case it would be like Below:
Refer this link for more date literals.