function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
nimbusprojectnimbusproject 

How to do dynamic SOQL comparison with Date values

imuinoimuino

Just compare it as you compare any other value in a soql query

 

for example:

 

Select Id From User Where CreatedDate =: datetime.now();

ocortinasocortinas

Hi,

Just to know if this solution works for you. In that case let me know or mark it as solved :)

Thanks.