Date Formats and Date Literals | SOQL and SOSL Reference | Salesforce Developers
Read full article from Date Formats and Date Literals | SOQL and SOSL Reference | Salesforce Developers
Date Formats and Date Literals | SOQL and SOSL Reference | Salesforce Developers
For a fieldExpression that uses date formats, the date is not enclosed in single quotes. Don't use quotes around the date. For example:
1 | SELECT Id |
2 | FROM Account |
3 | WHERE CreatedDate > 2005-10-08T01:02:03Z |
Read full article from Date Formats and Date Literals | SOQL and SOSL Reference | Salesforce Developers
No comments:
Post a Comment