How to Get the previous day (ddMMYYYY)-1?

Date.Now.AddDays(-1).ToString(“ddMMyyyy”)

Should do the trick

2 Likes