+ 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 datetime.now()).


Any help on this regard is really aprreciated.



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