[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

vb.net add month

I have a button

that the user will hit and it will look at the current month and at 1 to it;

example:
Current date is June 2004

user hit button msgbox says July 2004

0
hogan9111
Asked:
hogan9111
  • 2
1 Solution
 
tzxie2000Commented:
this may more better
 MessageBox.Show(Today.ToString("MMMM yyyy"))
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
MsgBox(Format(DateTime.Now().AddMonths(1), "MMMM yyyy"))
0
 
tzxie2000Commented:
yeah if you want a after month show
MessageBox.Show(Today.AddMonths(1).ToString("MMMM yyyy"))
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now