Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Troubles with Date Function

Status
Not open for further replies.

dashen

Programmer
Jul 14, 2005
233
0
0
US
Code:
Now.ToString("MM/dd/yy")

This is a simple problem I believe, but what is the format to show the date of tomorrow in a string format.

Also what is the format key if I want it to look like "July 18, 2007" Thanks in advanced.
 

Try this:
Code:
  Now.AddDays(1.0).ToString("MMM dd, yyyy")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top