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

Getting Previous Date based on current date

Hi All,


In Saelsforce how can I get a previsous date using the current data(i.e


Any help on this regard is really aprreciated.



Best Answer chosen by Admin (Salesforce Developers) 
We can use YESTERDAY literal to do this.