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
cherialcherial 

NOW(), CURDATE() soql queries not working...

Few Sql queries are not working while writing SOQL statements:
NOW()
CURDATE()
CURTIME()
DATE()
.....

Can any one please provide an alternate way to achieve Date functionality.

Thanks,
-Nath
hisrinuhisrinu
Hi,

 You can try the following.

system.today()
system.now()