Solved

vb.net add month

Posted on 2004-09-09
3
268 Views
Last Modified: 2008-02-01
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
Comment
Question by:hogan9111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:tzxie2000
ID: 12022968
this may more better
 MessageBox.Show(Today.ToString("MMMM yyyy"))
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 25 total points
ID: 12023155
MsgBox(Format(DateTime.Now().AddMonths(1), "MMMM yyyy"))
0
 
LVL 5

Expert Comment

by:tzxie2000
ID: 12023251
yeah if you want a after month show
MessageBox.Show(Today.AddMonths(1).ToString("MMMM yyyy"))
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Progress
Introduction to Processes

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question