+ Start a Discussion
NarenKNarenK 

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.

 

-Narendra

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