You need to sign in to do that
Don't have an account?
Nehaa
SOQL Query - Weekly data
Hi,
I would like to extract the records that are created in this week . Can we do this without hardcoding the dates?
We have an option in Reports, but other than reports can we extract weekly data?
Select Id from Contact where created date = this week???
Thanks
SELECT Id FROM Contact WHERE CreatedDate = THIS_WEEK
Hi Nehaa,
See the article below which has the list of date literals,
https://help.salesforce.com/apex/HTViewHelpDoc?id=custom_dates.htm&language=en
Regards,
Ashish