Month Name VB Function

Posted on 2014-03-19
Last Modified: 2014-03-26
Is there a function in VB the will return the text month name from a date (mm/dd/yyyy)?
Question by:JudithARyan
  • 2
  • 2
LVL 19

Accepted Solution

Ken Butters earned 250 total points
ID: 39940185
MonthName takes a month integer
Month returns the month integer...

so combining them should give you what you are looking for.

The 2nd parameter true/false tells whether to abbreviate the month name or not.

textMonthName = MonthName(Month(thisDate),true)

Author Comment

ID: 39940736

LVL 19

Expert Comment

by:Ken Butters
ID: 39940892
-You're welcome.

Just don't forget to award the points if you are satisfied with the answer.

Author Closing Comment

ID: 39957069
Thanks for your prompt answer!


Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need Help,, i m beginner in vba,, i'm writing a code for exporting the data from Userform to Access Database 13 114
oracle query help 18 111
Math Equation 23 83
Help Required 2 30
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

776 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