Hello,
I'm a C# newbie using VS.NET 2005. I'm having trouble getting a string representation of a date and using addition in DateTime objects to get tomorrow's date.
I have two ways of acquiring the current date. I use both:
AND
What's the easiest way to acquire the date for tomorrow? I can't seem to find any applicable function in the SDK and I'd hate to re-invent the wheel by creating an entire date class. Thanks in advance!
Panvuin
I'm a C# newbie using VS.NET 2005. I'm having trouble getting a string representation of a date and using addition in DateTime objects to get tomorrow's date.
I have two ways of acquiring the current date. I use both:
Code:
DateTime dtNow = DateTime.Now;
string strDateNow = dtNow.ToString("MM/dd/yyyy");
AND
Code:
string dateCal2 = this.monthCalendar1.SelectionStart.ToString();
What's the easiest way to acquire the date for tomorrow? I can't seem to find any applicable function in the SDK and I'd hate to re-invent the wheel by creating an entire date class. Thanks in advance!
Panvuin