Friday, October 31, 2008

Get Yesterday Date

Try this code:

DateTime.Now.AddDays(-1).ToString("dd-MM-yyyy");

Good Luck

No comments: