Get Yesterday’s Date Using C#
This article will teach you how to get yesterday’s date using C#. Many developers want to get yesterday’s date for too many reasons. It’s an easy and simple solution using the AddDays function. Passing (-1) to the AddDays function will return today’s date minus one day, which is yesterday’s date! How to get yesterday’s date