You need to sign in to do that
Don't have an account?

Current Date in SOQL
Hi,
I am beginner in Salesforce and learning SOQL and SOSL right now. In a problem staement, I want to compare month of LastModifiedDate with the month of current date but unable to do. Can anyone please help?
I am beginner in Salesforce and learning SOQL and SOSL right now. In a problem staement, I want to compare month of LastModifiedDate with the month of current date but unable to do. Can anyone please help?
You can create a formula field and use it.
ref: https://trailhead.salesforce.com/content/learn/modules/point_click_business_logic/formula_fields
Thanks for answering. Below is my problem statement :
Get all Leads Where ModifiedDate is in current month
For this statement, what would be the SOQL query?
Hi Sandeep,
If you find this helpful mark it as the best answer.
If the above query gives you any errors, you should try something like this
NOTE: The code provided is an example. You'll need to review and make modifications for your organization.
Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you