I can see that the field name that you have used is "CreatedDated" which should be CreatedDate only.You have entered "D" which is why you are getting the error.
Please try the below SOQL query:
List<Case> userCreatedCases = [SELECT Id, CreatedById FROM Case WHERE CreatedDate = 2005-10-08T01:02:03Z];
Please mark it as best answer if it helps you to fix the issue.
I can see that the field name that you have used is "CreatedDated" which should be CreatedDate only.You have entered "D" which is why you are getting the error.
Please try the below SOQL query:
List<Case> userCreatedCases = [SELECT Id, CreatedById FROM Case WHERE CreatedDate = 2005-10-08T01:02:03Z];
Please mark it as best answer if it helps you to fix the issue.
Greetings!
I can see that the field name that you have used is "CreatedDated" which should be CreatedDate only.You have entered "D" which is why you are getting the error.
Please try the below SOQL query:
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha Pathuri
All Answers
Greetings!
I can see that the field name that you have used is "CreatedDated" which should be CreatedDate only.You have entered "D" which is why you are getting the error.
Please try the below SOQL query:
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha Pathuri