You need to sign in to do that
Don't have an account?
Raghu Cheruvu 1
identifying salesforce records which were modified in the last 2 hours
Hi,
I am looking to identify salesforce records which were modified in the last 2 hours based on lastmodifeddate. Is there a datetime filter which can be used in SOQL to acheive this.
I am looking to identify salesforce records which were modified in the last 2 hours based on lastmodifeddate. Is there a datetime filter which can be used in SOQL to acheive this.
You will have to specify the hour. i.e. If now it's 6 p.m. and I want to get all modified records within the last 2 hours, set it to > 4.
Is it clear?
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.
All Answers
Here is a example of how you can do it:
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.
Thanks for your response.
I am looking to use the SOQL as a extract query in a Process-Conf file for apex data loader command line interface. Is there a way the above approach can be used in a extract query for CLI.
You will have to specify the hour. i.e. If now it's 6 p.m. and I want to get all modified records within the last 2 hours, set it to > 4.
Is it clear?
Regards.
Don't forget to mark your thread as 'SOLVED' with the answer that best helps you.