i want to get the one day before of the system's date by using the DateTime?
how can i do it?
i want to get the one day before of the system's date by using the DateTime?
how can i do it?
Check out the method AddDays, it also accepts negative values (*hint*).
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.