Pages

Total Pageviews

Add This

Monday, June 6, 2011

Get the month Name

You have to create a button and write the code bellow:

Dim getdate As Date
getdate = Now
 

MessageBox.Show("Month name: " & getdate.ToString("MMMM"), _
    "Date exercise")


When you execute the form you will get the same as on the picture:

No comments:

Post a Comment