You need to sign in to do that
Don't have an account?
Lewis Blau
Get records in SOQL created 10 mins ago
Is there a way in a soql statement on an sObjectQuery to get records created at least 10 mins ago.
Example sObjectQuery= "Select Id from Contact where credateddate < now - 10 minutes"
Example sObjectQuery= "Select Id from Contact where credateddate < now - 10 minutes"
Mark it as Best Answer, if it helps.
Check with the above code and let me know if it was useful
List<Contact> oppList = [select name from Contact where SystemModstamp >
:Datetime.now().addMinutes(-10)];
Check with the above code and let me know if it was useful
List<Contact> conList = [select name from Contact where SystemModstamp >
:Datetime.now().addMinutes(-10)];