This need retrieving the current date. Then, you’d subtract the number of milliseconds in 24 hours to get yesterday’s date, formatted as below:
{{dateFormat "MM/DD/YYYY" (dateAdd (timestamp) "-86400000")}}
If the current date is 10/18/2024 the output will be 10/17/2024